Fixed drawing sample compilo for wxMotif (doesn't have wxRegion::Offset)
Put m_ok earlier in SelectBitmap, else get assert after SelectObject(wxNullBitmap) 'Fixed' longlong to long conversion messages by redefinging GetMillisecondsTime git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -782,7 +782,12 @@ bool wxApp::ProcessXEvent(WXEvent* _event)
|
||||
#endif
|
||||
{
|
||||
// wxLogDebug( "FocusIn from %s of type %s", win->GetName().c_str(), win->GetClassInfo()->GetClassName() );
|
||||
|
||||
#if 0
|
||||
wxString msg;
|
||||
msg.Printf( "FocusIn from %s of type %s\n", win->GetName().c_str(), win->GetClassInfo()->GetClassName() );
|
||||
printf(msg.c_str());
|
||||
#endif
|
||||
|
||||
wxFocusEvent focusEvent(wxEVT_SET_FOCUS, win->GetId());
|
||||
focusEvent.SetEventObject(win);
|
||||
focusEvent.SetWindow( g_prevFocus );
|
||||
|
Reference in New Issue
Block a user