Add wxHAS_BITMAPTOGGLEBUTTON and test for it in the unit test.
Not all ports define wxBitmapToggleButton class currently, so add a special symbol which is defined only if this class is indeed available and test for it in the unit test for this class. This fixes the tests compilation under wxX11. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -106,8 +106,14 @@ public:
|
||||
/**
|
||||
@class wxBitmapToggleButton
|
||||
|
||||
wxBitmapToggleButton is a wxToggleButton
|
||||
that contains a bitmap instead of text.
|
||||
wxBitmapToggleButton is a wxToggleButton that contains a bitmap instead of
|
||||
text.
|
||||
|
||||
This class is not available in all ports currently (although it is
|
||||
available in the major ones), test for @c wxHAS_BITMAPTOGGLEBUTTON to
|
||||
determine whether it can be used (in addition for possibly testing for
|
||||
@c wxUSE_TOGGLEBTN which can be set to 0 to explicitly disable support for
|
||||
this class and wxToggleButton).
|
||||
|
||||
This control emits an update UI event.
|
||||
|
||||
|
Reference in New Issue
Block a user