projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
correct the last patch: we should compare wxGenericTreeItem pointers, not a pointer...
[wxWidgets.git]
/
src
/
generic
/
numdlgg.cpp
diff --git
a/src/generic/numdlgg.cpp
b/src/generic/numdlgg.cpp
index 615b64ba0f2c4b82b652316b99a6a127a966c0a4..a7099e1c19aae8b677809b1a6098406a81fe190d 100644
(file)
--- a/
src/generic/numdlgg.cpp
+++ b/
src/generic/numdlgg.cpp
@@
-77,7
+77,8
@@
wxNumberEntryDialog::wxNumberEntryDialog(wxWindow *parent,
long min,
long max,
const wxPoint& pos)
- : wxDialog(parent, wxID_ANY, caption,
+ : wxDialog(GetParentForModalDialog(parent),
+ wxID_ANY, caption,
pos, wxDefaultSize)
{
m_value = value;