avoid GCC warning: "__WXMSW__" is not defined

This commit is contained in:
Paul Cornett 2015-09-06 21:24:32 -07:00
parent 25b0ee43b8
commit 02f22eff71

View File

@ -250,7 +250,7 @@ MyFrame::MyFrame()
wxT("&3D Sash"),
wxT("Toggle wxSP_3DSASH flag"));
splitMenu->Check(SPLIT_3DSASH, true);
#if __WXMSW__
#ifdef __WXMSW__
splitMenu->AppendCheckItem(SPLIT_NOTHEME,
wxT("Disable XP &theme"),
wxT("Toggle wxSP_NO_XP_THEME flag"));