diff options
author | Daniel Wilhelm <daniel@wili.li> | 2015-10-02 14:50:01 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2015-10-02 14:50:01 +0200 |
commit | 6213f9a4474f28b3df9abafefe2804a105b1f468 (patch) | |
tree | 16a22816c826ba2da0060bbfe63a1ec2ad0eb1b0 /wx+/popup_dlg.cpp | |
parent | 6.5 (diff) | |
download | FreeFileSync-6213f9a4474f28b3df9abafefe2804a105b1f468.tar.gz FreeFileSync-6213f9a4474f28b3df9abafefe2804a105b1f468.tar.bz2 FreeFileSync-6213f9a4474f28b3df9abafefe2804a105b1f468.zip |
6.6
Diffstat (limited to 'wx+/popup_dlg.cpp')
-rw-r--r-- | wx+/popup_dlg.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wx+/popup_dlg.cpp b/wx+/popup_dlg.cpp index 66b3117e..dff6bdb0 100644 --- a/wx+/popup_dlg.cpp +++ b/wx+/popup_dlg.cpp @@ -6,7 +6,7 @@ #include "popup_dlg.h" #include <wx/app.h> -#include <wx+/std_button_order.h> +#include <wx+/std_button_layout.h> #include <wx+/font_size.h> #include <wx+/image_resources.h> #include "popup_dlg_generated.h" @@ -194,7 +194,7 @@ public: m_buttonCancel->Hide(); //set std order after button visibility was set - setStandardButtonOrder(*bSizerStdButtons, StdButtons().setAffirmative(m_buttonAffirmative)); + setStandardButtonLayout(*bSizerStdButtons, StdButtons().setAffirmative(m_buttonAffirmative)); setAsStandard(*m_buttonAffirmative); GetSizer()->SetSizeHints(this); //~=Fit() + SetMinSize() } @@ -212,7 +212,7 @@ public: m_buttonNegative->Hide(); //set std order after button visibility was set - setStandardButtonOrder(*bSizerStdButtons, StdButtons().setAffirmative(m_buttonAffirmative).setCancel(m_buttonCancel)); + setStandardButtonLayout(*bSizerStdButtons, StdButtons().setAffirmative(m_buttonAffirmative).setCancel(m_buttonCancel)); setAsStandard(*m_buttonAffirmative); GetSizer()->SetSizeHints(this); //~=Fit() + SetMinSize() } @@ -237,7 +237,7 @@ public: updateGui(); //set std order after button visibility was set - setStandardButtonOrder(*bSizerStdButtons, StdButtons().setAffirmative(m_buttonAffirmative).setNegative(m_buttonNegative).setCancel(m_buttonCancel)); + setStandardButtonLayout(*bSizerStdButtons, StdButtons().setAffirmative(m_buttonAffirmative).setNegative(m_buttonNegative).setCancel(m_buttonCancel)); setAsStandard(*m_buttonAffirmative); GetSizer()->SetSizeHints(this); //~=Fit() + SetMinSize() } |