]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/panelg.h
corrected CodeWarrior project target names and generated application names
[wxWidgets.git] / include / wx / generic / panelg.h
index 85f91ee81a39e7bbb0c581ac8e63ca3da5cf0fb9..cf5685d9489df58d667b09422f7ee2ed471c60e4 100644 (file)
@@ -34,7 +34,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr;
 class WXDLLEXPORT wxPanel : public wxWindow
 {
 public:
-    wxPanel() : m_container(this) { Init(); }
+    wxPanel() { Init(); }
 
     // Old-style constructor (no default values for coordinates to avoid
     // ambiguity with the new one)
@@ -42,7 +42,6 @@ public:
             int x, int y, int width, int height,
             long style = wxTAB_TRAVERSAL | wxNO_BORDER,
             const wxString& name = wxPanelNameStr)
-        : m_container(this)
     {
         Init();
 
@@ -56,7 +55,6 @@ public:
             const wxSize& size = wxDefaultSize,
             long style = wxTAB_TRAVERSAL | wxNO_BORDER,
             const wxString& name = wxPanelNameStr)
-        : m_container(this)
     {
         Init();