git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19394
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
GtkAdjustment *m_adjust;
float m_oldPos;
+protected:
+ virtual wxSize DoGetBestSize() const;
+
private:
DECLARE_DYNAMIC_CLASS(wxScrollBar)
};
GtkAdjustment *m_adjust;
float m_oldPos;
+protected:
+ virtual wxSize DoGetBestSize() const;
+
private:
DECLARE_DYNAMIC_CLASS(wxScrollBar)
};
PostCreation();
+ SetBestSize(size);
+
SetBackgroundColour( parent->GetBackgroundColour() );
Show( TRUE );
gtk_widget_set_style( m_widget, m_widgetStyle );
}
+wxSize wxScrollBar::DoGetBestSize() const
+{
+ return wxControl::DoGetBestSize();
+}
+
#endif
PostCreation();
+ SetBestSize(size);
+
SetBackgroundColour( parent->GetBackgroundColour() );
Show( TRUE );
gtk_widget_set_style( m_widget, m_widgetStyle );
}
+wxSize wxScrollBar::DoGetBestSize() const
+{
+ return wxControl::DoGetBestSize();
+}
+
#endif