X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e9bead8a013fd207e9c3e35bcfdba22fef929d..97b3455a6d8063228347484ca5df6507341aeced:/utils/wxPython/src/misc.i?ds=sidebyside diff --git a/utils/wxPython/src/misc.i b/utils/wxPython/src/misc.i index f8d7ed4b85..7b96bac70a 100644 --- a/utils/wxPython/src/misc.i +++ b/utils/wxPython/src/misc.i @@ -179,17 +179,22 @@ void wxEndBusyCursor(); long wxExecute(const wxString& command, bool sync = FALSE); wxWindow * wxFindWindowByLabel(const wxString& label, wxWindow *parent=NULL); wxWindow * wxFindWindowByName(const wxString& name, wxWindow *parent=NULL); +#ifdef __WXMSW__ wxWindow * wxGetActiveWindow(); long wxGetElapsedTime(bool resetTimer = TRUE); long wxGetFreeMemory(); +#endif void wxGetMousePosition(int* OUTPUT, int* OUTPUT); bool wxIsBusy(); wxString wxNow(); +#ifdef __WXMSW__ bool wxShell(const wxString& command = wxPyEmptyStr); void wxStartTimer(); +int wxGetOsVersion(int *OUTPUT, int *OUTPUT); +#endif + bool wxYield(); -int wxGetOsVersion(int *OUTPUT, int *OUTPUT); %inline %{ char* wxGetResource(char *section, char *entry, char *file = NULL) { char * retval; @@ -277,6 +282,7 @@ public: //--------------------------------------------------------------------------- // Accelerator Entry and Table +#ifdef __WXMSW__ class wxAcceleratorEntry { public: wxAcceleratorEntry(int flags = 0, int keyCode = 0, int cmd = 0); @@ -296,11 +302,19 @@ public: // ~wxAcceleratorEntry(); *** ? }; - +#endif //--------------------------------------------------------------------------- ///////////////////////////////////////////////////////////////////////////// // // $Log$ +// Revision 1.4 1998/08/18 19:48:19 RD +// more wxGTK compatibility things. +// +// It builds now but there are serious runtime problems... +// +// Revision 1.3 1998/08/16 04:31:10 RD +// More wxGTK work. +// // Revision 1.2 1998/08/15 07:36:41 RD // - Moved the header in the .i files out of the code that gets put into // the .cpp files. It caused CVS conflicts because of the RCS ID being