gtk-universal build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0cd1c6e304
commit
b22bb1a015
@ -146,7 +146,7 @@ bool wxGenericValidator::TransferToWindow(void)
|
||||
return true;
|
||||
}
|
||||
} else
|
||||
#if defined(__WXMAC__) || defined(__WXGTK20__)
|
||||
#if (defined(__WXMAC__) || defined(__WXGTK20__)) && !defined(__WXUNIVERSAL__)
|
||||
if (m_validatorWindow->IsKindOf(CLASSINFO(wxBitmapToggleButton)) )
|
||||
{
|
||||
wxBitmapToggleButton * pControl = (wxBitmapToggleButton *) m_validatorWindow;
|
||||
|
@ -2912,7 +2912,7 @@ bool wxWindowGTK::GTKHandleFocusIn()
|
||||
|
||||
// Notify the parent keeping track of focus for the kbd navigation
|
||||
// purposes that we got it.
|
||||
wxChildFocusEvent eventChildFocus(this);
|
||||
wxChildFocusEvent eventChildFocus(static_cast<wxWindow*>(this));
|
||||
GTKProcessEvent(eventChildFocus);
|
||||
|
||||
wxFocusEvent eventFocus(wxEVT_SET_FOCUS, GetId());
|
||||
|
Loading…
Reference in New Issue
Block a user