]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed some old code that generated warnings on some compilers
authorJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 1 Sep 2009 13:20:21 +0000 (13:20 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Tue, 1 Sep 2009 13:20:21 +0000 (13:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/editors.cpp

index 940b2f62fe54d3fdeb1ee4d6ce48b57da129ecfc..d0b43d382215aac8bd407c43155efb68f19daa85 100644 (file)
@@ -1528,9 +1528,6 @@ wxWindow* wxPropertyGrid::GetEditorControl() const
 
 void wxPropertyGrid::CorrectEditorWidgetSizeX()
 {
-    if ( m_selColumn == -1 )
-        return;
-
     int secWid = 0;
     int newSplitterx = m_pState->DoGetSplitterPosition(m_selColumn-1);
     int newWidth = newSplitterx + m_pState->m_colWidths[m_selColumn];
@@ -1573,9 +1570,6 @@ void wxPropertyGrid::CorrectEditorWidgetSizeX()
 
 void wxPropertyGrid::CorrectEditorWidgetPosY()
 {
-    if ( m_selColumn == -1 )
-        return;
-
     if ( GetSelection() && (m_wndEditor || m_wndEditor2) )
     {
         wxRect r = GetEditorWidgetRect(GetSelection(), m_selColumn);