]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/notebook.cpp
Fixed typos in window.cpp and utils.cpp
[wxWidgets.git] / src / msw / notebook.cpp
index cdfedb4cb3761a83f41e6bb056bcb7e2f7f9fa43..eb551853d5318c6bebf6d3ee23ff6b19125bc49e 100644 (file)
@@ -123,10 +123,7 @@ bool wxNotebook::Create(wxWindow *parent,
                         const wxString& name)
 {
   // base init
-  SetName(name);
-  SetParent(parent);
-
-  m_windowId = id == -1 ? NewControlId() : id;
+  CreateBase(parent, id, pos, size, style, name);
 
   // colors and font
   m_backgroundColour = wxColour(GetSysColor(COLOR_BTNFACE));