]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/toplevel.h
restored wxPluginLibrary::ms_classes handling code that was removed by mistake
[wxWidgets.git] / include / wx / univ / toplevel.h
index 7941417b4e1512980576d4d0d48f7afbc1bd5a34..9790eb6ca90913ecb9f533b07d6a1c283a00958d 100644 (file)
@@ -97,14 +97,19 @@ class WXDLLEXPORT wxTopLevelWindow : public wxTopLevelWindowNative,
 {
 public:
     // construction
-    wxTopLevelWindow();
+    wxTopLevelWindow() { Init(); }
     wxTopLevelWindow(wxWindow *parent,
                      wxWindowID id,
                      const wxString& title,
                      const wxPoint& pos = wxDefaultPosition,
                      const wxSize& size = wxDefaultSize,
                      long style = wxDEFAULT_FRAME_STYLE,
-                     const wxString& name = wxFrameNameStr);
+                     const wxString& name = wxFrameNameStr)
+    {
+        Init();
+
+        Create(parent, id, title, pos, size, style, name);
+    }
 
     bool Create(wxWindow *parent,
                 wxWindowID id,