#ifndef WX_PRECOMP
#include "wx/window.h"
- #include "wx/dc.h"
#include "wx/dcclient.h"
#include "wx/settings.h"
#endif
NULL,
button,
"button",
- dc.XLOG2DEV(rect.x), rect.y, rect.width, rect.height
+ dc.LogicalToDeviceX(rect.x), rect.y, rect.width, rect.height
);
}
const wxRect& rect,
int flags )
{
- // for reason why we do this, see DrawDropArrow
- wxWindowDC& wdc = (wxWindowDC&)dc;
- wxASSERT ( wdc.IsKindOf(CLASSINFO(wxWindowDC)) );
-
GtkStateType state;
if (flags & wxCONTROL_SELECTED)
{