X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73deed44e63d9d8d21a2ef6182bc685edc2bb0f9..9398120d298d745763f253d87d774be3b134b43f:/include/wx/app.h?ds=inline diff --git a/include/wx/app.h b/include/wx/app.h index 96f284a7e2..226be5346f 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -47,6 +47,10 @@ class WXDLLEXPORT wxCmdLineParser; #include "wx/log.h" #endif +#if WXWIN_COMPATIBILITY_2_2 + #include "wx/icon.h" +#endif + // ---------------------------------------------------------------------------- // constants // ---------------------------------------------------------------------------- @@ -275,10 +279,13 @@ public: #endif // wxUSE_LOG #if wxUSE_GUI + + #if WXWIN_COMPATIBILITY_2_2 // get the standard icon used by wxWin dialogs - this allows the user // to customize the standard dialogs. The 'which' parameter is one of // wxICON_XXX values - virtual wxIcon GetStdIcon(int which) const = 0; + virtual wxIcon GetStdIcon(int WXUNUSED(which)) const { return wxNullIcon; } + #endif // Get display mode that is used use. This is only used in framebuffer wxWin ports // (such as wxMGL).