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:
@@ -76,14 +76,17 @@ protected:
|
||||
#include "wx/univ/tglbtn.h"
|
||||
#elif defined(__WXMSW__)
|
||||
#include "wx/msw/tglbtn.h"
|
||||
#define wxHAS_BITMAPTOGGLEBUTTON
|
||||
#elif defined(__WXGTK20__)
|
||||
#include "wx/gtk/tglbtn.h"
|
||||
#define wxHAS_BITMAPTOGGLEBUTTON
|
||||
#elif defined(__WXGTK__)
|
||||
#include "wx/gtk1/tglbtn.h"
|
||||
# elif defined(__WXMOTIF__)
|
||||
#include "wx/motif/tglbtn.h"
|
||||
#elif defined(__WXMAC__)
|
||||
#include "wx/osx/tglbtn.h"
|
||||
#define wxHAS_BITMAPTOGGLEBUTTON
|
||||
#elif defined(__WXPALMOS__)
|
||||
#include "wx/palmos/tglbtn.h"
|
||||
#elif defined(__WXPM__)
|
||||
|
Reference in New Issue
Block a user