(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().

This commit is contained in:
alberth
2010-11-26 15:22:18 +00:00
parent 28eae51f93
commit 0722492c1b
34 changed files with 4 additions and 274 deletions

View File

@@ -396,11 +396,6 @@ struct MusicTrackSelectionWindow : public Window {
}
}
virtual void OnPaint()
{
this->DrawWidgets();
}
virtual void OnClick(Point pt, int widget, int click_count)
{
switch (widget) {
@@ -642,11 +637,6 @@ struct MusicWindow : public Window {
}
}
virtual void OnPaint()
{
this->DrawWidgets();
}
virtual void OnInvalidateData(int data = 0)
{
for (int i = 0; i < 6; i++) {