diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:30:04 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:30:04 +0200 |
commit | 4cfb31bf6abb2d42181e78e8d0758cf74a8a774a (patch) | |
tree | 9dca518008e4811b84b9a670df5b5ebcbc2a9dd5 /wx+/popup_dlg.cpp | |
parent | 5.23 (diff) | |
download | FreeFileSync-4cfb31bf6abb2d42181e78e8d0758cf74a8a774a.tar.gz FreeFileSync-4cfb31bf6abb2d42181e78e8d0758cf74a8a774a.tar.bz2 FreeFileSync-4cfb31bf6abb2d42181e78e8d0758cf74a8a774a.zip |
6.0
Diffstat (limited to 'wx+/popup_dlg.cpp')
-rw-r--r-- | wx+/popup_dlg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wx+/popup_dlg.cpp b/wx+/popup_dlg.cpp index 2c7887fa..d7d1960e 100644 --- a/wx+/popup_dlg.cpp +++ b/wx+/popup_dlg.cpp @@ -62,11 +62,11 @@ void setBestInitialSize(wxTextCtrl& ctrl, const wxString& text, wxSize maxSize) } #if defined ZEN_WIN || defined ZEN_LINUX - const int rowGap = 0; + const int rowGap = 0; #elif defined ZEN_MAC - const int rowGap = 1; + const int rowGap = 1; #endif - const wxSize bestSize(bestWidth + scrollbarWidth, std::min(rowCount * (rowHeight + rowGap), maxSize.y)); + const wxSize bestSize(bestWidth + scrollbarWidth, std::min(rowCount * (rowHeight + rowGap), maxSize.y)); ctrl.SetMinSize(bestSize); //alas, SetMinClientSize() is just not working! } } |