projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c9d12a
)
Fix audio mapping view on Windows (#885).
author
Carl Hetherington
<cth@carlh.net>
Fri, 3 Jun 2016 09:09:31 +0000
(10:09 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 3 Jun 2016 09:29:54 +0000
(10:29 +0100)
The appearance was odd due to a lack of refresh.
src/wx/audio_mapping_view.cc
patch
|
blob
|
history
diff --git
a/src/wx/audio_mapping_view.cc
b/src/wx/audio_mapping_view.cc
index d984defee646cf7e00243918e4aa55067575e0da..1771c12304501185858a4cf02e63abd48ec81442 100644
(file)
--- a/
src/wx/audio_mapping_view.cc
+++ b/
src/wx/audio_mapping_view.cc
@@
-347,6
+347,8
@@
AudioMappingView::sized (wxSizeEvent& ev)
_grid->AutoSize ();
_left_labels->SetMinSize (wxSize (LEFT_WIDTH, _grid->GetSize().GetHeight()));
_top_labels->SetMinSize (wxSize (_grid->GetSize().GetWidth() + LEFT_WIDTH, top_height));
+ _left_labels->Refresh ();
+ _top_labels->Refresh ();
ev.Skip ();
}