(hopefully) fixed wxGTK wxScrolledWindow::GetClientSize bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: generic/scrolwin.cpp
|
// Name: gtk/scrolwin.cpp
|
||||||
// Purpose: wxScrolledWindow implementation
|
// Purpose: wxScrolledWindow implementation
|
||||||
// Author: Julian Smart
|
// Author: Julian Smart
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -137,6 +137,7 @@ void wxScrolledWindow::Init()
|
|||||||
m_targetWindow = (wxWindow*) NULL;
|
m_targetWindow = (wxWindow*) NULL;
|
||||||
m_scaleX = 1.0;
|
m_scaleX = 1.0;
|
||||||
m_scaleY = 1.0;
|
m_scaleY = 1.0;
|
||||||
|
m_hasScrolling = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxScrolledWindow::Create(wxWindow *parent,
|
bool wxScrolledWindow::Create(wxWindow *parent,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: generic/scrolwin.cpp
|
// Name: gtk/scrolwin.cpp
|
||||||
// Purpose: wxScrolledWindow implementation
|
// Purpose: wxScrolledWindow implementation
|
||||||
// Author: Julian Smart
|
// Author: Julian Smart
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -137,6 +137,7 @@ void wxScrolledWindow::Init()
|
|||||||
m_targetWindow = (wxWindow*) NULL;
|
m_targetWindow = (wxWindow*) NULL;
|
||||||
m_scaleX = 1.0;
|
m_scaleX = 1.0;
|
||||||
m_scaleY = 1.0;
|
m_scaleY = 1.0;
|
||||||
|
m_hasScrolling = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxScrolledWindow::Create(wxWindow *parent,
|
bool wxScrolledWindow::Create(wxWindow *parent,
|
||||||
|
Reference in New Issue
Block a user