#ifndef WX_PRECOMP
#include "wx/window.h"
- #include "wx/dc.h"
+ #include "wx/dcclient.h"
+ #include "wx/settings.h"
#endif
#include <gtk/gtk.h>
#include "wx/gtk/win_gtk.h"
-#include "wx/dcclient.h"
-#include "wx/settings.h"
-
// RR: After a correction to the orientation of the sash
// this doesn't seem to be required anymore and it
// seems to confuse some themes so USE_ERASE_RECT=0
NULL,
button,
"button",
- dc.XLOG2DEV(rect.x), rect.y, rect.width, rect.height
+ dc.LogicalToDeviceX(rect.x), rect.y, rect.width, rect.height
);
}