projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new MLTE implementation, using our own scrolling
[wxWidgets.git]
/
src
/
xrc
/
xh_tglbtn.cpp
diff --git
a/src/xrc/xh_tglbtn.cpp
b/src/xrc/xh_tglbtn.cpp
index 1e6219ca123a83959a10d35dc907606e5f57249a..637e238434fdd370eb2bc4eae04770664453b3c5 100644
(file)
--- a/
src/xrc/xh_tglbtn.cpp
+++ b/
src/xrc/xh_tglbtn.cpp
@@
-8,7
+8,7
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if
def __GNUG__
+#if
defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "xh_tglbtn.h"
#endif
#pragma implementation "xh_tglbtn.h"
#endif
@@
-19,11
+19,11
@@
#pragma hdrstop
#endif
#pragma hdrstop
#endif
+#if wxUSE_XRC && wxUSE_TOGGLEBTN
+
#include "wx/xrc/xh_tglbtn.h"
#include "wx/tglbtn.h"
#include "wx/xrc/xh_tglbtn.h"
#include "wx/tglbtn.h"
-#if wxUSE_TOGGLEBTN
-
IMPLEMENT_DYNAMIC_CLASS(wxToggleButtonXmlHandler, wxXmlResourceHandler)
wxToggleButtonXmlHandler::wxToggleButtonXmlHandler()
IMPLEMENT_DYNAMIC_CLASS(wxToggleButtonXmlHandler, wxXmlResourceHandler)
wxToggleButtonXmlHandler::wxToggleButtonXmlHandler()
@@
-55,4
+55,4
@@
bool wxToggleButtonXmlHandler::CanHandle(wxXmlNode *node)
return IsOfClass(node, wxT("wxToggleButton"));
}
return IsOfClass(node, wxT("wxToggleButton"));
}
-#endif
+#endif
// wxUSE_XRC && wxUSE_TOGGLEBTN