]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/minifram.h
Disabled memory tracing code for mingw32,
[wxWidgets.git] / include / wx / msw / minifram.h
index 97ba03c69adcbb7c8a62003cc775d732ed60b86f..9d1b228aac2fecbbd1a3e895112421299b4519ed 100644 (file)
 
 #include "wx/frame.h"
 
+#ifdef __WIN32__
+
+class WXDLLEXPORT wxMiniFrame: public wxFrame {
+
+  DECLARE_DYNAMIC_CLASS(wxMiniFrame)
+
+public:
+  inline wxMiniFrame(void) {}
+  inline wxMiniFrame(wxWindow *parent,
+           wxWindowID id,
+           const wxString& title,
+           const wxPoint& pos = wxDefaultPosition,
+           const wxSize& size = wxDefaultSize,
+           long style = wxDEFAULT_FRAME_STYLE,
+           const wxString& name = wxFrameNameStr)
+  {
+      Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT, name);
+  }
+
+protected:
+};
+
+
+#else
+
 class WXDLLEXPORT wxMiniFrame: public wxFrame {
 
   DECLARE_DYNAMIC_CLASS(wxMiniFrame)
@@ -42,5 +67,8 @@ public:
 protected:
 };
 
+#endif
+
+
 #endif
     // _WX_MINIFRAM_H_