%import gdi.i
%import windows.i
+%pragma(python) code = "import wx"
//----------------------------------------------------------------------
public:
wxColourDialog(wxWindow* parent, wxColourData* data = NULL);
- %pragma(python) addtomethod = "__init__:wxp._StdDialogCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wx._StdDialogCallbacks(self)"
-#ifdef __WXMSW__
wxColourData& GetColourData();
-#else
- wxColourData GetColourData();
-#endif
int ShowModal();
};
//----------------------------------------------------------------------
-#ifdef __WXMSW__
class wxDirDialog : public wxDialog {
public:
wxDirDialog(wxWindow* parent,
long style = 0,
const wxPoint& pos = wxPyDefaultPosition);
- %pragma(python) addtomethod = "__init__:wxp._StdDialogCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wx._StdDialogCallbacks(self)"
wxString GetPath();
wxString GetMessage();
void SetPath(const wxString& path);
int ShowModal();
};
-#endif
//----------------------------------------------------------------------
long style = 0,
const wxPoint& pos = wxPyDefaultPosition);
- %pragma(python) addtomethod = "__init__:wxp._StdDialogCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wx._StdDialogCallbacks(self)"
wxString GetDirectory();
wxString GetFilename();
}
}
- %pragma(python) addtomethod = "__init__:wxp._StdDialogCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wx._StdDialogCallbacks(self)"
int GetSelection();
wxString GetStringSelection();
long style = wxOK | wxCANCEL | wxCENTRE,
const wxPoint& pos = wxPyDefaultPosition);
- %pragma(python) addtomethod = "__init__:wxp._StdDialogCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wx._StdDialogCallbacks(self)"
wxString GetValue();
void SetValue(const wxString& value);
public:
wxFontDialog(wxWindow* parent, wxFontData* data = NULL);
- %pragma(python) addtomethod = "__init__:wxp._StdDialogCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wx._StdDialogCallbacks(self)"
wxFontData& GetFontData();
int ShowModal();
public:
wxPageSetupDialog(wxWindow* parent, wxPageSetupData* data = NULL);
- %pragma(python) addtomethod = "__init__:wxp._StdDialogCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wx._StdDialogCallbacks(self)"
wxPageSetupData& GetPageSetupData();
int ShowModal();
public:
wxPrintDialog(wxWindow* parent, wxPrintData* data = NULL);
- %pragma(python) addtomethod = "__init__:wxp._StdDialogCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wx._StdDialogCallbacks(self)"
wxPrintData& GetPrintData();
- wxDC* GetPrintDC();
+ %new wxDC* GetPrintDC();
int ShowModal();
};
long style = wxOK | wxCANCEL | wxCENTRE,
const wxPoint& pos = wxPyDefaultPosition);
- %pragma(python) addtomethod = "__init__:wxp._StdDialogCallbacks(self)"
+ %pragma(python) addtomethod = "__init__:wx._StdDialogCallbacks(self)"
int ShowModal();
};
/////////////////////////////////////////////////////////////////////////////
//
// $Log$
+// Revision 1.8 1998/12/17 14:07:25 RR
+// Removed minor differences between wxMSW and wxGTK
+//
+// Revision 1.7 1998/12/15 20:41:14 RD
+// Changed the import semantics from "from wxPython import *" to "from
+// wxPython.wx import *" This is for people who are worried about
+// namespace pollution, they can use "from wxPython import wx" and then
+// prefix all the wxPython identifiers with "wx."
+//
+// Added wxTaskbarIcon for wxMSW.
+//
+// Made the events work for wxGrid.
+//
+// Added wxConfig.
+//
+// Added wxMiniFrame for wxGTK, (untested.)
+//
+// Changed many of the args and return values that were pointers to gdi
+// objects to references to reflect changes in the wxWindows API.
+//
+// Other assorted fixes and additions.
+//
+// Revision 1.6 1998/11/25 08:45:22 RD
+//
+// Added wxPalette, wxRegion, wxRegionIterator, wxTaskbarIcon
+// Added events for wxGrid
+// Other various fixes and additions
+//
// Revision 1.5 1998/11/15 23:03:43 RD
// Removing some ifdef's for wxGTK
//