%{
#include "helpers.h"
-
-#ifdef __WXMSW__
#include <wx/minifram.h>
-#endif
%}
//----------------------------------------------------------------------
%import windows.i
%import stattool.i
-%pragma(python) code = "import wxp"
+%pragma(python) code = "import wx"
//----------------------------------------------------------------------
long style = wxDEFAULT_FRAME_STYLE,
char* name = "frame");
- %pragma(python) addtomethod = "__init__:wxp._StdFrameCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wx._StdFrameCallbacks(self)"
void Centre(int direction = wxBOTH);
#ifdef __WXMSW__
long style = wxST_SIZEGRIP,
wxWindowID id = -1,
char* name = "statusBar");
- wxToolBar* CreateToolBar(long style = wxNO_BORDER|wxTB_HORIZONTAL,
+ wxToolBar* CreateToolBar(long style = wxNO_BORDER|wxTB_HORIZONTAL|wxTB_FLAT,
wxWindowID id = -1,
char* name = "toolBar");
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 SetStatusBar(wxStatusBar *statusBar);
void SetStatusText(const wxString& text, int number = 0);
- void SetStatusWidths(int LCOUNT, int* LIST); // uses typemap
+ void SetStatusWidths(int LCOUNT, int* choices); // uses typemap
void SetTitle(const wxString& title);
void SetToolBar(wxToolBar* toolbar);
//---------------------------------------------------------------------------
-#ifdef __WXMSW__
class wxMiniFrame : public wxFrame {
public:
wxMiniFrame(wxWindow* parent, const wxWindowID id, const wxString& title,
long style = wxDEFAULT_FRAME_STYLE,
char* name = "frame");
- %pragma(python) addtomethod = "__init__:wxp._StdFrameCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wx._StdFrameCallbacks(self)"
};
-#endif
+
+
+//---------------------------------------------------------------------------
+
+
+
+