// set the focus if not done yet and if we can already do it
if ( GTK_WIDGET_REALIZED(m_wxwindow) )
{
- if ( g_delayedFocus && wxGetTopLevelParent(g_delayedFocus) == this )
+ if ( g_delayedFocus &&
+ wxGetTopLevelParent((wxWindow*)g_delayedFocus) == this )
{
g_delayedFocus->SetFocus();
g_delayedFocus = NULL;
}
}
- (void)DoSendFocusEvents(this);
+ (void)DoSendFocusEvents((wxWindow*)this);
}
bool wxWindowGTK::AcceptsFocus() const
while (parent && !parent->IsTopLevel())
parent = parent->GetParent();
if (!parent)
- parent = this;
+ parent = (wxWindow*)this;
wxRegionIterator upd( m_updateRegion );
while (upd)
// set the focus if not done yet and if we can already do it
if ( GTK_WIDGET_REALIZED(m_wxwindow) )
{
- if ( g_delayedFocus && wxGetTopLevelParent(g_delayedFocus) == this )
+ if ( g_delayedFocus &&
+ wxGetTopLevelParent((wxWindow*)g_delayedFocus) == this )
{
g_delayedFocus->SetFocus();
g_delayedFocus = NULL;
}
}
- (void)DoSendFocusEvents(this);
+ (void)DoSendFocusEvents((wxWindow*)this);
}
bool wxWindowGTK::AcceptsFocus() const
while (parent && !parent->IsTopLevel())
parent = parent->GetParent();
if (!parent)
- parent = this;
+ parent = (wxWindow*)this;
wxRegionIterator upd( m_updateRegion );
while (upd)