commit temporary fix for the sample for 2.9.0 release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -740,6 +740,11 @@ void MyStatusBar::OnSize(wxSizeEvent& event)
|
|||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// TEMPORARY HACK: TODO find a more general solution
|
||||||
|
#ifdef wxStatusBarGeneric
|
||||||
|
wxStatusBar::OnSize(event);
|
||||||
|
#endif
|
||||||
|
|
||||||
wxRect rect;
|
wxRect rect;
|
||||||
if (!GetFieldRect(Field_Checkbox, rect))
|
if (!GetFieldRect(Field_Checkbox, rect))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user