Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7199/wxLua/modules/wxluadebug/src
Modified Files:
splttree.cpp
Log Message:
update for wx26/27
Add bindings for builtin (global) functions
Handle %if statements for enums
Index: splttree.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/splttree.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** splttree.cpp 18 Jun 2005 20:46:00 -0000 1.3
--- splttree.cpp 17 Nov 2005 05:51:21 -0000 1.4
***************
*** 551,558 ****
tempDC.Clear();
wxPen pen(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DLIGHT), 1, wxSOLID);
tempDC.SetPen(pen);
tempDC.SetBrush(*wxTRANSPARENT_BRUSH);
- wxFont font(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
tempDC.SetFont(font);
--- 551,564 ----
tempDC.Clear();
+ #if wxCHECK_VERSION(2,6,0)
+ wxPen pen(wxSystemSettings::GetColour(wxSYS_COLOUR_3DLIGHT), 1, wxSOLID);
+ wxFont font(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
+ #else //!wxCHECK_VERSION(2,6,0)
wxPen pen(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DLIGHT), 1, wxSOLID);
+ wxFont font(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+ #endif //wxCHECK_VERSION(2,6,0)
+
tempDC.SetPen(pen);
tempDC.SetBrush(*wxTRANSPARENT_BRUSH);
tempDC.SetFont(font);
|