projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixing SetShape's bridging between RgnHandle and HiShapeRef
[wxWidgets.git]
/
src
/
generic
/
fdrepdlg.cpp
diff --git
a/src/generic/fdrepdlg.cpp
b/src/generic/fdrepdlg.cpp
index 797ac68cbb8d039b900daa8bf2003de22b066784..976ade0dec51b119d592e102c02b69b538938d16 100644
(file)
--- a/
src/generic/fdrepdlg.cpp
+++ b/
src/generic/fdrepdlg.cpp
@@
-87,6
+87,8
@@
bool wxGenericFindReplaceDialog::Create(wxWindow *parent,
const wxString& title,
int style)
{
+ parent = GetParentForModalDialog(parent);
+
if ( !wxDialog::Create(parent, wxID_ANY, title,
wxDefaultPosition, wxDefaultSize,
wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER