// for wxID_OK):
wxString wxGetStockLabel(wxWindowID id,
long flags = wxSTOCK_WITH_MNEMONIC);
-
+
+
+enum wxStockHelpStringClient
+{
+ wxSTOCK_MENU // help string to use for menu items
+};
+
+// Returns an help string for the given stock UI element and for the given "context".
+wxString wxGetStockHelpString(wxWindowID id,
+ wxStockHelpStringClient client = wxSTOCK_MENU);
+
+
+
MustHaveApp(wxBell);
void wxBell();
MustHaveApp(wxEndBusyCursor);
void wxEndBusyCursor();
-long wxGetElapsedTime(bool resetTimer = true);
-%pythoncode { GetElapsedTime = wx._deprecated(GetElapsedTime) }
-
bool wxIsBusy();
wxString wxNow();
bool wxShell(const wxString& command = wxPyEmptyString);
-void wxStartTimer();
DocDeclA(
wxWindow* wxGetTopLevelParent(wxWindow *win);
+// flags for wxLaunchDefaultBrowser
+enum
+{
+ wxBROWSER_NEW_WINDOW = 1
+};
+
DocDeclStr(
- bool , wxLaunchDefaultBrowser(const wxString& url),
+ bool , wxLaunchDefaultBrowser(const wxString& url, int flags = 0),
"Launches the user's default browser and tells it to open the location
at ``url``. Returns ``True`` if the application was successfully
launched.", "");