X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1be7a35c5ec31b6cfcab9d969c7969586441a945..58ce18f2fdadecffb21e27555115af708325cf18:/include/wx/minifram.h diff --git a/include/wx/minifram.h b/include/wx/minifram.h index 915781b2c2..3dfe581429 100644 --- a/include/wx/minifram.h +++ b/include/wx/minifram.h @@ -10,7 +10,11 @@ ///////////////////////////////////////////////////////////////////////////// #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" @@ -25,10 +29,15 @@ #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 +// TODO: it seems that wxMiniFrame could be just defined here generically +// instead of having all the above port-specific headers +#include "wx/frame.h" +typedef wxFrame wxMiniFrame; #endif -#endif - // _WX_MINIFRAM_H_BASE_ +#endif // wxUSE_MINIFRAME +#endif // _WX_MINIFRAM_H_BASE_