#include "wx/statbox.h"
#ifndef WX_PRECOMP
- #include "wx/msw/missing.h"
#include "wx/app.h"
#include "wx/dcclient.h"
#include "wx/dcmemory.h"
#include "wx/msw/uxtheme.h"
#include "wx/msw/private.h"
+#include "wx/msw/missing.h"
// ----------------------------------------------------------------------------
// wxWin macros
// now draw the text
if ( !rtl )
{
- ::DrawText(hdc, label, label.length(), &dimensions,
+ RECT rc2 = { x, 0, x + width, y };
+ ::DrawText(hdc, label, label.length(), &rc2,
DT_SINGLELINE | DT_VCENTER);
}
else // RTL