]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/tglbtn.cpp
fixed wxString::FromAscii signature
[wxWidgets.git] / src / gtk / tglbtn.cpp
index 176f8d5806a0531fec3fbd9af1a25a346f7f0fc0..734b351d26ba5ea7f32c2548fdf3855ad070aae1 100644 (file)
@@ -55,8 +55,6 @@ bool wxToggleBitmapButton::Create(wxWindow *parent, wxWindowID id,
                             const wxValidator& validator,
                             const wxString &name)
 {
-    m_needParent = true;
-
     m_blockEvent = false;
 
     if (!PreCreation(parent, pos, size) ||
@@ -197,8 +195,6 @@ bool wxToggleButton::Create(wxWindow *parent, wxWindowID id,
                             const wxValidator& validator,
                             const wxString &name)
 {
-    m_needParent = true;
-
     m_blockEvent = false;
 
     if (!PreCreation(parent, pos, size) ||