diff --git a/aegisub/base_grid.cpp b/aegisub/base_grid.cpp index 084685908..60c820542 100644 --- a/aegisub/base_grid.cpp +++ b/aegisub/base_grid.cpp @@ -62,6 +62,7 @@ BaseGrid::BaseGrid(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wx extendRow = -1; bmp = NULL; holding = false; + byFrame = false; // Set scrollbar scrollBar = new wxScrollBar(this,GRID_SCROLLBAR,wxDefaultPosition,wxDefaultSize,wxSB_VERTICAL); diff --git a/aegisub/video_slider.cpp b/aegisub/video_slider.cpp index dcfc1936e..0b188a4c7 100644 --- a/aegisub/video_slider.cpp +++ b/aegisub/video_slider.cpp @@ -53,6 +53,9 @@ VideoSlider::VideoSlider (wxWindow* parent, wxWindowID id) : wxWindow (parent,id,wxDefaultPosition,wxDefaultSize,wxWANTS_CHARS | wxFULL_REPAINT_ON_RESIZE) { + val = 0; + min = 0; + max = 1; Display = NULL; SetClientSize(20,25); locked = false;