#include <resizec.h>
Inherits wxResizeableControl.
Inherited by wxBitmapControl.
Inheritance diagram for wxPictureControl:
Public Member Functions | |
wxPictureControl () | |
Ctor. | |
wxPictureControl (wxWindow *AParent, int AnId, const wxPoint &pos, const wxSize &size, long style=0, const wxString &name=wxPanelNameStr) | |
Ctor. | |
virtual const wxChar * | GetPictureType () |
Return picture type string. | |
virtual long | GetPictureSize () |
Return picture data size. | |
virtual long | GetPictureData (char *, long) |
Copy picture data into pt. | |
void | OnRevert (wxCommandEvent &event) |
Reset original size if available. | |
void | OnRightDown (wxMouseEvent &event) |
Show context menu. | |
void | OnPaletteChanged (wxSysColourChangedEvent &event) |
Respond to system color palette change event. | |
void | OnEditCut (wxCommandEvent &ce) |
Cut event. | |
virtual void | OnEditCopy (wxCommandEvent &WXUNUSED(ce)) |
Copy event. | |
void | CeEditCut (wxUpdateUIEvent &ce) |
Enable cut event. | |
void | CeEditCopy (wxUpdateUIEvent &ce) |
Enable copy event. | |
void | OnSize (wxSizeEvent &event) |
Reponds to size event. | |
void | OnPaint (wxPaintEvent &event) |
Responds to paint event. |
This would make a perfect abstract class, but the definition of wxDynamicCast() doesn't allow this.
Definition at line 233 of file resizec.h.
|
Ctor.
|
|
Ctor.
|
|
Enable copy event.
|
|
Enable cut event.
|
|
Copy picture data into pt.
|
|
Return picture data size.
|
|
Return picture type string.
|
|
Copy event.
|
|
Cut event.
Reimplemented from wxResizeableControl. Definition at line 563 of file resizec.cpp. |
|
Responds to paint event.
Definition at line 594 of file resizec.cpp. References wxResizeableControl::DrawSizeRect(), wxResizeableControl::m_hasfocus, and wxResizeableControl::Paint(). |
|
Respond to system color palette change event.
Definition at line 583 of file resizec.cpp. |
|
Reset original size if available.
Definition at line 604 of file resizec.cpp. References wxResizeableControl::GetOriginalSize(). |
|
Show context menu.
Definition at line 569 of file resizec.cpp. |
|
Reponds to size event.
Reimplemented from wxResizeableControl. Definition at line 588 of file resizec.cpp. |