DocumentWindow : MinimiseButton & Resized() : Conflit

I have a simple DocumentWindow with only a minimiseButton.
All is right until I add the resized() method : then my button disappear and minimising becomes impossible.

Why this conflit ?

Ok sorry, i basicly overrided the DocumentWindow::resized(),

so all its allraight with this :

vois myClass::resized(){
	DocumentWindow::resized();
//my own code;
}