X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e45689df6ca927c2105dd27cd57847a4fad45669..5ed63bf59f05691c6e6a875abb89870742e2c020:/include/wx/minifram.h diff --git a/include/wx/minifram.h b/include/wx/minifram.h index 8792576ef4..6c8fd679f1 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__) @@ -30,7 +32,12 @@ #include "wx/mac/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_