]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/minifram.h
moving tlw list up, cleanup
[wxWidgets.git] / include / wx / minifram.h
index 8792576ef4ea3faa5613b3a0e489458048a1d87d..6c8fd679f1d28877ca080b0ad81a9a1ae80f1afb 100644 (file)
 /////////////////////////////////////////////////////////////////////////////
 
 #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__)
 #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_