#include <wx/fontenum.h>
#include <wx/tipdlg.h>
#include <wx/process.h>
+#ifdef __WXMSW__
#include <wx/joystick.h>
+#endif
%}
//----------------------------------------------------------------------
int x = -1, int y = -1,
bool centre = TRUE);
+wxString wxGetPasswordFromUser(const wxString& message,
+ const wxString& caption = wxPyEmptyStr,
+ const wxString& default_value = wxPyEmptyStr,
+ wxWindow *parent = NULL);
+
// TODO: Need to custom wrap this one...
// int wxGetMultipleChoice(char* message, char* caption,
void wxDisplaySize(int* OUTPUT, int* OUTPUT);
wxSize wxGetDisplaySize();
+
void wxDisplaySizeMM(int* OUTPUT, int* OUTPUT);
wxSize wxGetDisplaySizeMM();
//----------------------------------------------------------------------
+bool wxSafeYield(wxWindow* win=NULL);
void wxPostEvent(wxEvtHandler *dest, wxEvent& event);
void wxWakeUpIdle();
-bool wxSafeYield(wxWindow* win=NULL);
+
+#ifdef __WXMSW__
+void wxWakeUpMainThread();
+#endif
+
+void wxMutexGuiEnter();
+void wxMutexGuiLeave();
+
+
+class wxMutexGuiLocker {
+public:
+ wxMutexGuiLocker();
+ ~wxMutexGuiLocker();
+};
+
+
+%inline %{
+ bool wxThread_IsMain() {
+ return wxThread::IsMain();
+ }
+%}
//----------------------------------------------------------------------
//----------------------------------------------------------------------
+
+enum {
+ /* event type */
+ wxEVT_END_PROCESS
+};
+
+
class wxProcessEvent : public wxEvent {
public:
wxProcessEvent(int id = 0, int pid = 0, int exitcode = 0);