Removed some old code that generated warnings on some compilers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli 2009-09-01 13:20:21 +00:00
parent 9a30da4d1f
commit aa498ec94e

View 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);