git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31031
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
WXHBRUSH wxWindowMSW::MSWGetBgBrush(WXHDC hDC)
{
WXHBRUSH wxWindowMSW::MSWGetBgBrush(WXHDC hDC)
{
- for ( wxWindow *win = this; win; win = win->GetParent() )
+ for ( wxWindow *win = (wxWindow *)this; win; win = win->GetParent() )
{
// background is not inherited beyond the containing TLW
if ( win->IsTopLevel() )
{
// background is not inherited beyond the containing TLW
if ( win->IsTopLevel() )
bool bVirtual;
//High order with GetAsyncKeyState only available on WIN32
bool bVirtual;
//High order with GetAsyncKeyState only available on WIN32
//If the requested key is a LED key, return
//true if the led is pressed
if (key == WXK_NUMLOCK ||
//If the requested key is a LED key, return
//true if the led is pressed
if (key == WXK_NUMLOCK ||
key == WXK_SCROLL)
{
#endif
key == WXK_SCROLL)
{
#endif
- //low order bit means LED is highlighted,
+ //low order bit means LED is highlighted,
//high order means key is down
//Here, for compat with other ports we want both
return GetKeyState( wxCharCodeWXToMSW(key, &bVirtual) ) != 0;
//high order means key is down
//Here, for compat with other ports we want both
return GetKeyState( wxCharCodeWXToMSW(key, &bVirtual) ) != 0;