projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Supporters update.
[dcpomatic.git]
/
src
/
wx
/
content_sub_panel.cc
diff --git
a/src/wx/content_sub_panel.cc
b/src/wx/content_sub_panel.cc
index 0c775287ac69ab2ec5cd8e9b03c6033a4866ccfe..6bbc9a51fcae43a89ad9e785ec99e2242fb266cb 100644
(file)
--- a/
src/wx/content_sub_panel.cc
+++ b/
src/wx/content_sub_panel.cc
@@
-25,10
+25,10
@@
#include "lib/dcp_content.h"
#include "lib/compose.hpp"
#include "lib/log.h"
#include "lib/dcp_content.h"
#include "lib/compose.hpp"
#include "lib/log.h"
-#include
"lib/warnings.h"
-
DCPOMATIC
_DISABLE_WARNINGS
+#include
<dcp/warnings.h>
+
LIBDCP
_DISABLE_WARNINGS
#include <wx/notebook.h>
#include <wx/notebook.h>
-
DCPOMATIC
_ENABLE_WARNINGS
+
LIBDCP
_ENABLE_WARNINGS
using std::list;
using std::list;
@@
-83,6
+83,7
@@
ContentSubPanel::layout ()
GetViewStart (&x, &y);
Scroll (0, 0);
_sizer->Layout ();
GetViewStart (&x, &y);
Scroll (0, 0);
_sizer->Layout ();
+ _sizer->FitInside(this);
Scroll (x, y);
}
Scroll (x, y);
}