]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/utils.h
remove the just added assertEquals(time_t, long) overload, it results in infinite...
[wxWidgets.git] / include / wx / utils.h
index 2fd8ed4284bb9f7bed4fc78e858922d87d2570f1..7e9a195160cc5184d2453e4230619925a97a5c03 100644 (file)
@@ -224,6 +224,7 @@ public:
 
     wxCoord GetX() const { return m_x; }
     wxCoord GetY() const { return m_y; }
+    wxPoint GetPosition() const { return wxPoint(m_x, m_y); }
 
     bool LeftDown()    const { return m_leftDown; }
     bool MiddleDown()  const { return m_middleDown; }
@@ -571,12 +572,16 @@ WXDLLIMPEXP_BASE void wxQsort(void *const pbase, size_t total_elems,
 // flags for wxLaunchDefaultBrowser
 enum
 {
-    wxBROWSER_NEW_WINDOW = 1
+    wxBROWSER_NEW_WINDOW   = 0x01,
+    wxBROWSER_NOBUSYCURSOR = 0x02
 };
 
 // Launch url in the user's default internet browser
 WXDLLIMPEXP_CORE bool wxLaunchDefaultBrowser(const wxString& url, int flags = 0);
 
+// Launch document in the user's default application
+WXDLLIMPEXP_CORE bool wxLaunchDefaultApplication(const wxString& path, int flags = 0);
+
 // ----------------------------------------------------------------------------
 // Menu accelerators related things
 // ----------------------------------------------------------------------------