]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/toplevel.h
reSWIGged
[wxWidgets.git] / include / wx / msw / toplevel.h
index 9b7871c4a61e621ad9ac404cfc2ab4a1003fe779..1fb8f26792d6205b42aee86e72d192263f14d480 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_MSW_TOPLEVEL_H_
 #define _WX_MSW_TOPLEVEL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "toplevel.h"
 #endif
 
@@ -24,7 +24,7 @@ class WXDLLEXPORT wxTopLevelWindowMSW : public wxTopLevelWindowBase
 {
 public:
     // constructors and such
-    wxTopLevelWindowMSW() { Init(); }
+    wxTopLevelWindowMSW();
 
     wxTopLevelWindowMSW(wxWindow *parent,
                         wxWindowID id,
@@ -32,12 +32,7 @@ public:
                         const wxPoint& pos = wxDefaultPosition,
                         const wxSize& size = wxDefaultSize,
                         long style = wxDEFAULT_FRAME_STYLE,
-                        const wxString& name = wxFrameNameStr)
-    {
-        Init();
-
-        (void)Create(parent, id, title, pos, size, style, name);
-    }
+                        const wxString& name = wxFrameNameStr);
 
     bool Create(wxWindow *parent,
                 wxWindowID id,