From: Vadim Zeitlin Date: Sat, 28 Jun 2003 13:12:00 +0000 (+0000) Subject: fixed fatal crash in Create() after my last change X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1d6a432423247c0c186a69ce82b0490c1f4e3ca1?hp=6fd9f0a47401cb921400f5b7ad43da8010ab170f fixed fatal crash in Create() after my last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/minifram.h b/include/wx/msw/minifram.h index 7d8329fe4e..451ed9a8a8 100644 --- a/include/wx/msw/minifram.h +++ b/include/wx/msw/minifram.h @@ -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,