git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14229
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
int window_size = GetWindowSize();
{
int window_size = GetWindowSize();
+ // VZ: dirty fix, 20 is the initial window size under wxGTK, this is
+ // going to be replaced with the correct Vaclav's code soon (FIXME)
+ if ( window_size <= 20 )
{
// don't do anything before the window has a valid size, otherwise we
// put the sash to 0 at the very beginning and it doesn't move from
{
// don't do anything before the window has a valid size, otherwise we
// put the sash to 0 at the very beginning and it doesn't move from