mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 02:33:15 +02:00
wx 3.3 compatibility.
This commit is contained in:
parent
b8b4ea1a45
commit
13f8fd77ac
@ -771,6 +771,9 @@ void ACTION_TOOLBAR::OnCustomRender(wxDC& aDc, const wxAuiToolBarItem& aItem, co
|
|||||||
|
|
||||||
bool ACTION_TOOLBAR::KiRealize()
|
bool ACTION_TOOLBAR::KiRealize()
|
||||||
{
|
{
|
||||||
|
#if wxCHECK_VERSION( 3, 3, 0 )
|
||||||
|
return Realize();
|
||||||
|
#else
|
||||||
wxClientDC dc( this );
|
wxClientDC dc( this );
|
||||||
|
|
||||||
if( !dc.IsOk() )
|
if( !dc.IsOk() )
|
||||||
@ -819,6 +822,7 @@ bool ACTION_TOOLBAR::KiRealize()
|
|||||||
|
|
||||||
Refresh( false );
|
Refresh( false );
|
||||||
return retval;
|
return retval;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user