projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compilation fix for old SDKs (VC6...) which don't define HDM_SETBITMAPMARGIN/Header_S...
[wxWidgets.git]
/
src
/
xrc
/
xh_tglbtn.cpp
diff --git
a/src/xrc/xh_tglbtn.cpp
b/src/xrc/xh_tglbtn.cpp
index 1e6219ca123a83959a10d35dc907606e5f57249a..91f433d8a9cbd5c1afc4be21f8de1c8acc872b49 100644
(file)
--- a/
src/xrc/xh_tglbtn.cpp
+++ b/
src/xrc/xh_tglbtn.cpp
@@
-1,6
+1,6
@@
/////////////////////////////////////////////////////////////////////////////
// Name: xh_tglbtn.cpp
/////////////////////////////////////////////////////////////////////////////
// Name: xh_tglbtn.cpp
-// Purpose: XRC resource for wx
CheckBox
+// Purpose: XRC resource for wx
ToggleButton
// Author: Bob Mitchell
// Created: 2000/03/21
// RCS-ID: $Id$
// Author: Bob Mitchell
// Created: 2000/03/21
// RCS-ID: $Id$
@@
-8,10
+8,6
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-#pragma implementation "xh_tglbtn.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
@@
-19,11
+15,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
+51,4
@@
bool wxToggleButtonXmlHandler::CanHandle(wxXmlNode *node)
return IsOfClass(node, wxT("wxToggleButton"));
}
return IsOfClass(node, wxT("wxToggleButton"));
}
-#endif
+#endif
// wxUSE_XRC && wxUSE_TOGGLEBTN