Only test new renderer methods on GTK+2, MSW and MAC.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-06-02 09:58:29 +00:00
parent 0c2cc3c833
commit 0751db411c

View File

@@ -150,6 +150,7 @@ public:
wxRendererNative::Get().DrawCheckBox(this, dc, wxRect(80, 170, 16, 16), wxCONTROL_CHECKED | wxCONTROL_DISABLED);
#if defined(__WXGTK20__) || defined(__WXMSW__) || defined(__WXMAC__)
dc.DrawText(_T("Draw wxTextCtrl (without text)"), 10, 200);
wxRenderer_DrawTextCtrl( this, dc, wxRect(20,220,60,24), 0);
wxRenderer_DrawTextCtrl( this, dc, wxRect(120,220,60,24), wxCONTROL_CURRENT );
@@ -163,7 +164,7 @@ public:
dc.DrawText(_T("Draw wxRadioButton (without text)"), 10, 350);
wxRenderer_DrawRadioButton( this, dc, wxRect(20,370,24,24), 0);
wxRenderer_DrawRadioButton( this, dc, wxRect(40,370,24,24), wxCONTROL_CHECKED );
#endif
}