]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_functions.i
Allow the frame (if there is one) to resize the toolbar after Realize
[wxWidgets.git] / wxPython / src / _functions.i
index b9bbcc8b69129a5c05d00185cef6aa0764eaada3..e39ac0b9c04375dd7c702a8639e30692717e0c2b 100644 (file)
@@ -205,6 +205,7 @@ int wxMessageBox(const wxString& message,
                  int x = -1, int y = -1);
 
 // WXWIN_COMPATIBILITY_2_4
+#if 0
 MustHaveApp(wxGetNumberFromUser);
 long wxGetNumberFromUser(const wxString& message,
                          const wxString& prompt,
@@ -213,6 +214,8 @@ long wxGetNumberFromUser(const wxString& message,
                          long min = 0, long max = 100,
                          wxWindow *parent = NULL,
                          const wxPoint& pos = wxDefaultPosition);
+%pythoncode { GetNumberFromUser = wx._deprecated(GetNumberFromUser) }
+#endif
 
 // GDI Functions