projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed wxStreamBuffer::Tell() to return at least sometimes a valid result
[wxWidgets.git]
/
src
/
gtk1
/
toplevel.cpp
diff --git
a/src/gtk1/toplevel.cpp
b/src/gtk1/toplevel.cpp
index ee320bc684c25da26d2b04f17bedc1d814007714..534759fca72e488ae3bfdf05fba230ba484c4375 100644
(file)
--- a/
src/gtk1/toplevel.cpp
+++ b/
src/gtk1/toplevel.cpp
@@
-761,7
+761,8
@@
void wxTopLevelWindowGTK::OnInternalIdle()
// set the focus if not done yet and if we can already do it
if ( GTK_WIDGET_REALIZED(m_wxwindow) )
{
// 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;
{
g_delayedFocus->SetFocus();
g_delayedFocus = NULL;