Browse Source

Fix previous commit

tags/1.9.4
falkTX 12 years ago
parent
commit
4ba8d1faa9
2 changed files with 1 additions and 1 deletions
  1. +1
    -0
      source/modules/distrho/dgl/CairoWidget.hpp
  2. +0
    -1
      source/modules/distrho/dgl/src/Window.cpp

+ 1
- 0
source/modules/distrho/dgl/CairoWidget.hpp View File

@@ -43,6 +43,7 @@ private:
void onReshape(int width, int height) override void onReshape(int width, int height) override
{ {
// handle resize // handle resize
setSize(width, height);
Widget::onReshape(width, height); Widget::onReshape(width, height);


// free previous if needed // free previous if needed


+ 0
- 1
source/modules/distrho/dgl/src/Window.cpp View File

@@ -554,7 +554,6 @@ protected:
FOR_EACH_WIDGET(it) FOR_EACH_WIDGET(it)
{ {
Widget* const widget(*it); Widget* const widget(*it);
widget->fArea.setSize(width, height);
widget->onReshape(width, height); widget->onReshape(width, height);
} }
} }


Loading…
Cancel
Save