]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/numdlgg.cpp
use generic dialogs under Palm (generic.diff part of patch 1894861)
[wxWidgets.git] / src / generic / numdlgg.cpp
index 615b64ba0f2c4b82b652316b99a6a127a966c0a4..a7099e1c19aae8b677809b1a6098406a81fe190d 100644 (file)
@@ -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;