#ifndef WX_PRECOMP
#include "wx/math.h"
#include "wx/module.h"
+ #include "wx/window.h"
#endif
#ifdef __WXMSW__
#include "wx/msw/dcscreen.h"
#endif
-#ifdef __WXGTK20__
+#ifdef __WXGTK3__
+ #include "wx/gtk/dc.h"
+#elif defined __WXGTK20__
#include "wx/gtk/dcclient.h"
#include "wx/gtk/dcmemory.h"
#include "wx/gtk/dcscreen.h"
#include "wx/dfb/dcscreen.h"
#endif
-#ifdef __WXPALMOS__
- #include "wx/palmos/dcclient.h"
- #include "wx/palmos/dcmemory.h"
- #include "wx/palmos/dcscreen.h"
-#endif
-
//----------------------------------------------------------------------------
// wxDCFactory
//----------------------------------------------------------------------------
{
if ( pc - text.begin() == indexAccel )
{
- // remeber to draw underscore here
+ // remember to draw underscore here
GetTextExtent(curLine, &startUnderscore, NULL);
curLine += *pc;
GetTextExtent(curLine, &endUnderscore, NULL);