]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/minifram.h
always define our HKPD/CC/DD constants, without using WINVER which is irrelevant...
[wxWidgets.git] / include / wx / msw / minifram.h
index 7d8329fe4e4740c330f511e21538ec64097ef45a..7b43537fad8a40d80f6bb28a2894fd5badc72aad 100644 (file)
 #ifndef _WX_MINIFRAM_H_
 #define _WX_MINIFRAM_H_
 
-#ifdef __GNUG__
-#pragma interface "minifram.h"
-#endif
-
 #include "wx/frame.h"
 
 class WXDLLEXPORT wxMiniFrame : public wxFrame
@@ -31,10 +27,10 @@ public:
               long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
               const wxString& name = wxFrameNameStr)
   {
-      return Create(parent, id, title, pos, size,
-                    style |
-                    wxFRAME_TOOL_WINDOW |
-                    (parent ? wxFRAME_FLOAT_ON_PARENT : 0), name);
+      return wxFrame::Create(parent, id, title, pos, size,
+                             style |
+                             wxFRAME_TOOL_WINDOW |
+                             (parent ? wxFRAME_FLOAT_ON_PARENT : 0), name);
   }
 
   wxMiniFrame(wxWindow *parent,
@@ -49,7 +45,7 @@ public:
   }
 
 protected:
-  DECLARE_DYNAMIC_CLASS(wxMiniFrame)
+  DECLARE_DYNAMIC_CLASS_NO_COPY(wxMiniFrame)
 };
 
 #endif