]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/app.h
Wine fixes
[wxWidgets.git] / include / wx / app.h
index ef7a14120bcfbd42322be2181dcf5d0e917fcc56..2f1ffac900dc0ed5193b14e0310f7019e15e32f5 100644 (file)
@@ -108,9 +108,6 @@ public:
     // Called from wxExit() function, should terminate the application a.s.a.p.
     virtual void Exit();
 
-    // Return the layout direction for the current locale
-    virtual wxLayoutDirection GetLayoutDirection() const;
-
 
     // application info: name, description, vendor
     // -------------------------------------------
@@ -476,6 +473,10 @@ public:
     virtual void SetPrintMode(int WXUNUSED(mode)) { }
     int GetPrintMode() const { return wxPRINT_POSTSCRIPT; }
 
+    // Return the layout direction for the current locale or wxLayout_Default
+    // if it's unknown
+    virtual wxLayoutDirection GetLayoutDirection() const;
+
 
     // command line parsing (GUI-specific)
     // ------------------------------------------------------------------------
@@ -641,9 +642,12 @@ public:
 #ifdef __WXUNIVERSAL__
     #include "wx/univ/theme.h"
 
-    #define IMPLEMENT_WX_THEME_SUPPORT \
-        WX_USE_THEME(win32); \
-        WX_USE_THEME(gtk);
+    #ifdef wxUNIV_DEFAULT_THEME
+        #define IMPLEMENT_WX_THEME_SUPPORT \
+            WX_USE_THEME(wxUNIV_DEFAULT_THEME);
+    #else
+        #define IMPLEMENT_WX_THEME_SUPPORT
+    #endif
 #else
     #define IMPLEMENT_WX_THEME_SUPPORT
 #endif