Missing LocaleGuards.
authorCarl Hetherington <cth@carlh.net>
Sun, 12 Jan 2014 23:17:20 +0000 (23:17 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 12 Jan 2014 23:17:20 +0000 (23:17 +0000)
ChangeLog
src/wx/audio_mapping_view.cc

index 0a353e57ab930a14d22b8fab1b9276afbbf54804..3e9b9fe58c9ca175b60b980dd5f91a2b40f9579f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,15 +1,6 @@
-2014-01-11  Carl Hetherington  <cth@carlh.net>
+2014-01-12  Carl Hetherington  <cth@carlh.net>
 
-       * Hopefully fix error on restarting a cancelled transcode job
-       on Windows.
-
-2014-01-10  Carl Hetherington  <cth@carlh.net>
-
-       * Version 1.62.2 released.
-
-2014-01-10  Carl Hetherington  <cth@carlh.net>
-
-       * Version 1.62.1 released.
+       * Fix crashes when using -3dB options in locales with a , decimal separator.
 
 2014-01-10  Carl Hetherington  <cth@carlh.net>
 
index 9fa57a1b10b2f21dc0aa54674d1ea543e6284289..c08da091241b2c92e75dbd0c159d3688fccda9fb 100644 (file)
@@ -58,6 +58,8 @@ public:
 
        void Draw (wxGrid& grid, wxGridCellAttr &, wxDC& dc, const wxRect& rect, int row, int col, bool)
        {
+               LocaleGuard lg;
+       
                dc.SetPen (*wxThePenList->FindOrCreatePen (wxColour (255, 255, 255), 1, wxPENSTYLE_SOLID));
                dc.SetBrush (*wxTheBrushList->FindOrCreateBrush (wxColour (255, 255, 255), wxBRUSHSTYLE_SOLID));
                dc.DrawRectangle (rect);
@@ -222,6 +224,8 @@ AudioMappingView::set (AudioMapping map)
 void
 AudioMappingView::update_cells ()
 {
+       LocaleGuard lg;
+       
        if (_grid->GetNumberRows ()) {
                _grid->DeleteRows (0, _grid->GetNumberRows ());
        }