]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
fixed wxString::FromAscii signature
[wxWidgets.git] / src / generic / panelg.cpp
index 34c59bb52da38761e7f6dc4126ecd59fd9d9d0db..d714bce3c08935bc3602c6f9453b590ea8e3adb7 100644 (file)
@@ -105,7 +105,7 @@ WX_DELEGATE_TO_CONTROL_CONTAINER(wxPanel, wxWindow)
 
 void wxPanel::Init()
 {
-    m_container.SetContainerWindow(this);
+    WX_INIT_CONTROL_CONTAINER();
 }
 
 bool wxPanel::Create(wxWindow *parent, wxWindowID id,