X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7ed09d0c78586b44871a6678caad1313a401aab..328fafa1db150b08d1793bafd1b17208857d0102:/include/wx/minifram.h diff --git a/include/wx/minifram.h b/include/wx/minifram.h index 3c06de8766..3dfe581429 100644 --- a/include/wx/minifram.h +++ b/include/wx/minifram.h @@ -10,10 +10,12 @@ ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_MINIFRAM_H_BASE_ -#define _WX_MINIFRAMH_BASE_ +#define _WX_MINIFRAM_H_BASE_ #include "wx/defs.h" +#if wxUSE_MINIFRAME + #if defined(__WXPALMOS__) #include "wx/palmos/minifram.h" #elif defined(__WXMSW__) @@ -27,7 +29,7 @@ #elif defined(__WXX11__) #include "wx/x11/minifram.h" #elif defined(__WXMAC__) -#include "wx/mac/minifram.h" +#include "wx/osx/minifram.h" #elif defined(__WXPM__) #include "wx/os2/minifram.h" #else @@ -37,5 +39,5 @@ typedef wxFrame wxMiniFrame; #endif -#endif - // _WX_MINIFRAM_H_BASE_ +#endif // wxUSE_MINIFRAME +#endif // _WX_MINIFRAM_H_BASE_