]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed fatal crash in Create() after my last change
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 28 Jun 2003 13:12:00 +0000 (13:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 28 Jun 2003 13:12:00 +0000 (13:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/minifram.h

index 7d8329fe4e4740c330f511e21538ec64097ef45a..451ed9a8a86c8f3226b7a7c8b1aafda6ed813c2d 100644 (file)
@@ -31,10 +31,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,