X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ff14574fc48a85531252d675b1cf8cfadb65399..dc484d491b15355285a89da275c58c2ef247d1f4:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index ef7a14120b..2f1ffac900 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -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