Put Get/Set/Push/PopEventHandler methods back in.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -90,7 +90,7 @@ public:
|
|||||||
%name(GetClientSizeTuple) void GetClientSize(int *OUTPUT, int *OUTPUT);
|
%name(GetClientSizeTuple) void GetClientSize(int *OUTPUT, int *OUTPUT);
|
||||||
wxSize GetClientSize();
|
wxSize GetClientSize();
|
||||||
wxLayoutConstraints * GetConstraints();
|
wxLayoutConstraints * GetConstraints();
|
||||||
//wxEvtHandler* GetEventHandler();
|
wxEvtHandler* GetEventHandler();
|
||||||
|
|
||||||
wxFont& GetFont();
|
wxFont& GetFont();
|
||||||
wxColour GetForegroundColour();
|
wxColour GetForegroundColour();
|
||||||
@@ -128,8 +128,8 @@ public:
|
|||||||
%name(MoveXY)void Move(int x, int y);
|
%name(MoveXY)void Move(int x, int y);
|
||||||
void Move(const wxPoint& point);
|
void Move(const wxPoint& point);
|
||||||
|
|
||||||
//wxEvtHandler* PopEventHandler(bool deleteHandler = FALSE);
|
wxEvtHandler* PopEventHandler(bool deleteHandler = FALSE);
|
||||||
//void PushEventHandler(wxEvtHandler* handler);
|
void PushEventHandler(wxEvtHandler* handler);
|
||||||
|
|
||||||
%name(PopupMenuXY)bool PopupMenu(wxMenu *menu, int x, int y);
|
%name(PopupMenuXY)bool PopupMenu(wxMenu *menu, int x, int y);
|
||||||
bool PopupMenu(wxMenu *menu, const wxPoint& pos);
|
bool PopupMenu(wxMenu *menu, const wxPoint& pos);
|
||||||
@@ -172,7 +172,7 @@ public:
|
|||||||
void SetClientSize(const wxSize& size);
|
void SetClientSize(const wxSize& size);
|
||||||
//void SetPalette(wxPalette* palette);
|
//void SetPalette(wxPalette* palette);
|
||||||
void SetCursor(const wxCursor&cursor);
|
void SetCursor(const wxCursor&cursor);
|
||||||
//void SetEventHandler(wxEvtHandler* handler);
|
void SetEventHandler(wxEvtHandler* handler);
|
||||||
void SetTitle(const wxString& title);
|
void SetTitle(const wxString& title);
|
||||||
bool Show(bool show);
|
bool Show(bool show);
|
||||||
bool TransferDataFromWindow();
|
bool TransferDataFromWindow();
|
||||||
@@ -249,7 +249,7 @@ public:
|
|||||||
wxButton* GetDefaultItem();
|
wxButton* GetDefaultItem();
|
||||||
void SetDefaultItem(wxButton *btn);
|
void SetDefaultItem(wxButton *btn);
|
||||||
|
|
||||||
// fix a SWIG turd...
|
// fix some SWIG trouble...
|
||||||
%pragma(python) addtoclass = "
|
%pragma(python) addtoclass = "
|
||||||
def GetDefaultItem(self):
|
def GetDefaultItem(self):
|
||||||
import controls
|
import controls
|
||||||
|
Reference in New Issue
Block a user