summaryrefslogtreecommitdiff
path: root/src/wx/playlist_editor_config_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-09 13:58:49 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-09 13:58:49 +0200
commitfb6e245fa03e5720b8f8fdea3e2228536b22d5cf (patch)
tree057e3edb7fcf6d297919e38696182d6b99bab6cd /src/wx/playlist_editor_config_dialog.cc
parent4237e4a2029eb2035cf8a5fda3e71dbe65ffa989 (diff)
C++11 tidying.
Diffstat (limited to 'src/wx/playlist_editor_config_dialog.cc')
-rw-r--r--src/wx/playlist_editor_config_dialog.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/playlist_editor_config_dialog.cc b/src/wx/playlist_editor_config_dialog.cc
index 63a28b5dd..d5c4106ea 100644
--- a/src/wx/playlist_editor_config_dialog.cc
+++ b/src/wx/playlist_editor_config_dialog.cc
@@ -28,17 +28,17 @@
wxPreferencesEditor*
create_playlist_editor_config_dialog ()
{
- wxPreferencesEditor* e = new wxPreferencesEditor (_("DCP-o-matic Playlist Editor Preferences"));
+ auto e = new wxPreferencesEditor (_("DCP-o-matic Playlist Editor Preferences"));
#ifdef DCPOMATIC_OSX
/* Width that we force some of the config panels to be on OSX so that
the containing window doesn't shrink too much when we select those panels.
This is obviously an unpleasant hack.
*/
- wxSize ps = wxSize (520, -1);
+ auto ps = wxSize (520, -1);
int const border = 16;
#else
- wxSize ps = wxSize (-1, -1);
+ auto ps = wxSize (-1, -1);
int const border = 8;
#endif