]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/minifram.h
1. wxGrid row can't be resized to less than minimal height
[wxWidgets.git] / include / wx / msw / minifram.h
index 97ba03c69adcbb7c8a62003cc775d732ed60b86f..9d1b228aac2fecbbd1a3e895112421299b4519ed 100644 (file)
 
 #include "wx/frame.h"
 
 
 #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)
 class WXDLLEXPORT wxMiniFrame: public wxFrame {
 
   DECLARE_DYNAMIC_CLASS(wxMiniFrame)
@@ -42,5 +67,8 @@ public:
 protected:
 };
 
 protected:
 };
 
+#endif
+
+
 #endif
     // _WX_MINIFRAM_H_
 #endif
     // _WX_MINIFRAM_H_