X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bf31fa26c74df94d13f0b5ffc9842fe9bc3004be..33980f0da63a5c78e88df40d39b010fbe33d867a:/src/common/utilscmn.cpp diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 488be4bec8..79ed4007dc 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -72,7 +72,6 @@ #include "wx/notebook.h" #include "wx/frame.h" #include "wx/statusbr.h" - #include "wx/toolbar.h" #endif // wxUSE_GUI #include @@ -90,6 +89,15 @@ #include "wx/msw/private.h" #endif +// ---------------------------------------------------------------------------- +// common data +// ---------------------------------------------------------------------------- + +#if WXWIN_COMPATIBILITY_2_2 + const wxChar *wxInternalErrorStr = wxT("wxWindows Internal Error"); + const wxChar *wxFatalErrorStr = wxT("wxWindows Fatal Error"); +#endif // WXWIN_COMPATIBILITY_2_2 + // ---------------------------------------------------------------------------- // function protoypes // ---------------------------------------------------------------------------- @@ -1109,7 +1117,7 @@ const wxChar *wxGetInstallPrefix() { wxString prefix; - if ( wxGetEnv(wxT("WX_PREFIX"), &prefix) ) + if ( wxGetEnv(wxT("WXPREFIX"), &prefix) ) return prefix.c_str(); #ifdef wxINSTALL_PREFIX