%import misc.i
%import gdi.i
+%pragma(python) code = "import wxp"
//---------------------------------------------------------------------------
long style = 0,
char* name = "panel");
+ %pragma(python) addtomethod = "__init__:wxp._StdWindowCallbacks(self)"
void CaptureMouse();
void Center(int direction = wxHORIZONTAL);
%}
#endif
-//----------------------------------------------------------------------
-
-class wxFrame : public wxWindow {
-public:
- wxFrame(wxWindow* parent, const wxWindowID id, const wxString& title,
- const wxPoint& pos = wxPyDefaultPosition,
- const wxSize& size = wxPyDefaultSize,
- long style = wxDEFAULT_FRAME_STYLE,
- char* name = "frame");
-
- void Centre(int direction = wxBOTH);
-#ifdef __WXMSW__
- void Command(int id);
-#endif
- bool CreateStatusBar(int number = 1);
- wxMenuBar* GetMenuBar();
- wxStatusBar* GetStatusBar();
- wxString GetTitle();
- void Iconize(bool iconize);
- bool IsIconized();
- void Maximize(bool maximize);
-#ifdef __WXMSW__
- void SetAcceleratorTable(const wxAcceleratorTable& accel);
-#endif
- void SetIcon(const wxIcon& icon);
- void SetMenuBar(wxMenuBar* menuBar);
- void SetStatusText(const wxString& text, int number = 0);
- void SetStatusWidths(int LCOUNT, int* LIST); // use typemap
- void SetTitle(const wxString& title);
-
-};
-
-//---------------------------------------------------------------------------
-
-#ifdef __WXMSW__
-class wxMiniFrame : public wxFrame {
-public:
- wxMiniFrame(wxWindow* parent, const wxWindowID id, const wxString& title,
- const wxPoint& pos = wxPyDefaultPosition,
- const wxSize& size = wxPyDefaultSize,
- long style = wxDEFAULT_FRAME_STYLE,
- char* name = "frame");
-};
-#endif
//---------------------------------------------------------------------------
long style = wxTAB_TRAVERSAL,
const char* name = "panel");
+ %pragma(python) addtomethod = "__init__:wxp._StdWindowCallbacks(self)"
+
void InitDialog();
};
long style = wxDEFAULT_DIALOG_STYLE,
const char* name = "dialogBox");
+ %pragma(python) addtomethod = "__init__:wxp._StdDialogCallbacks(self)"
+
void Centre(int direction = wxBOTH);
void EndModal(int retCode);
wxString GetTitle();
long style = wxHSCROLL | wxVSCROLL,
char* name = "scrolledWindow");
+ %pragma(python) addtomethod = "__init__:wxp._StdWindowCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wxp._StdOnScrollCallbacks(self)"
+
void EnableScrolling(bool xScrolling, bool yScrolling);
void GetScrollPixelsPerUnit(int* OUTPUT, int* OUTPUT);
void GetVirtualSize(int* OUTPUT, int* OUTPUT);
void SetHelp(const wxString& strHelp);
void Enable(bool bDoEnable = TRUE);
void Check(bool bDoCheck = TRUE);
- bool IsCheckable();
};
//---------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////
//
// $Log$
+// Revision 1.6 1998/10/02 06:40:43 RD
+// Version 0.4 of wxPython for MSW.
+//
+// Revision 1.5 1998/08/17 18:29:40 RD
+// Removed an extra method definition
+//
// Revision 1.4 1998/08/16 04:31:11 RD
// More wxGTK work.
//