projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix discrepancy between different ways of measuring text extents under Mac.
[wxWidgets.git]
/
src
/
gtk
/
dialog.cpp
diff --git
a/src/gtk/dialog.cpp
b/src/gtk/dialog.cpp
index 0d05469ff809c0b3a4ba0f12fd1d2b86bf24efad..bb3fbd15861debc507680e88d388b7060126c23c 100644
(file)
--- a/
src/gtk/dialog.cpp
+++ b/
src/gtk/dialog.cpp
@@
-111,7
+111,7
@@
int wxDialog::ShowModal()
if ( win )
win->GTKReleaseMouseAndNotify();
if ( win )
win->GTKReleaseMouseAndNotify();
- wxWindow * const parent = GetParentForModalDialog();
+ wxWindow * const parent = GetParentForModalDialog(
GetParent()
);
if ( parent )
{
gtk_window_set_transient_for( GTK_WINDOW(m_widget),
if ( parent )
{
gtk_window_set_transient_for( GTK_WINDOW(m_widget),