]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/minifram.h
implement wxBitmapButton as just a wrapper for wxButton under MSW
[wxWidgets.git] / include / wx / minifram.h
index 7a00d5d74df939261d393815ec76021e105ba1ae..3dfe5814299da50986f4afbe995ebbaf47dc4122 100644 (file)
@@ -1,13 +1,43 @@
-#ifndef __MINIFRAMH_BASE__
-#define __MINIFRAMH_BASE_
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/minifram.h
+// Purpose:     wxMiniFrame base header
+// Author:      Julian Smart
+// Modified by:
+// Created:
+// Copyright:   (c) Julian Smart
+// RCS-ID:      $Id$
+// Licence:     wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
 
-#if defined(__WXMSW__)
+#ifndef _WX_MINIFRAM_H_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/msw/minifram.h"
 #elif defined(__WXMOTIF__)
-#include "wx/xt/minifram.h"
-#elif defined(__WXGTK__)
+#include "wx/motif/minifram.h"
+#elif defined(__WXGTK20__)
 #include "wx/gtk/minifram.h"
+#elif defined(__WXGTK__)
+#include "wx/gtk1/minifram.h"
+#elif defined(__WXX11__)
+#include "wx/x11/minifram.h"
+#elif defined(__WXMAC__)
+#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
-    // __MINIFRAMH_BASE__
+#endif // wxUSE_MINIFRAME
+#endif // _WX_MINIFRAM_H_BASE_