]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/minifram.h
1. added support for bitmaps with alpha channel
[wxWidgets.git] / include / wx / msw / minifram.h
index 7d8329fe4e4740c330f511e21538ec64097ef45a..ac32099044259fba1f25d29cd1f9a450c96b7267 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_MINIFRAM_H_
 #define _WX_MINIFRAM_H_
 
 #ifndef _WX_MINIFRAM_H_
 #define _WX_MINIFRAM_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "minifram.h"
 #endif
 
 #pragma interface "minifram.h"
 #endif
 
@@ -31,10 +31,10 @@ public:
               long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
               const wxString& name = wxFrameNameStr)
   {
               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,
   }
 
   wxMiniFrame(wxWindow *parent,
@@ -49,7 +49,7 @@ public:
   }
 
 protected:
   }
 
 protected:
-  DECLARE_DYNAMIC_CLASS(wxMiniFrame)
+  DECLARE_DYNAMIC_CLASS_NO_COPY(wxMiniFrame)
 };
 
 #endif
 };
 
 #endif