X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/376ccc457c79721ba0b3124507642976491c5c8e..16f10340daf29ae98fc50bbc12a50faec884c676:/include/wx/msw/minifram.h?ds=sidebyside diff --git a/include/wx/msw/minifram.h b/include/wx/msw/minifram.h index 7d8329fe4e..ac32099044 100644 --- a/include/wx/msw/minifram.h +++ b/include/wx/msw/minifram.h @@ -12,7 +12,7 @@ #ifndef _WX_MINIFRAM_H_ #define _WX_MINIFRAM_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "minifram.h" #endif @@ -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, @@ -49,7 +49,7 @@ public: } protected: - DECLARE_DYNAMIC_CLASS(wxMiniFrame) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxMiniFrame) }; #endif