projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad259ba
)
[ 1803350 ] Wrong top-level window positioning on scrolled window
author
Robert Roebling
<robert@roebling.de>
Thu, 27 Sep 2007 20:21:52 +0000
(20:21 +0000)
committer
Robert Roebling
<robert@roebling.de>
Thu, 27 Sep 2007 20:21:52 +0000
(20:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48968
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/gtk/window.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/gtk/window.cpp
b/src/gtk/window.cpp
index b7e49281e122b3251b5b181343ec0fbfc6f9eab3..eb36d67c61930c4f0919275393d07a9d185ef585 100644
(file)
--- a/
src/gtk/window.cpp
+++ b/
src/gtk/window.cpp
@@
-2898,7
+2898,7
@@
void wxWindowGTK::DoGetPosition( int *x, int *y ) const
int dx = 0;
int dy = 0;
- if (m_parent && m_parent->m_wxwindow)
+ if (
!IsTopLevel() &&
m_parent && m_parent->m_wxwindow)
{
GtkPizza *pizza = GTK_PIZZA(m_parent->m_wxwindow);
dx = gtk_pizza_get_xoffset( pizza );