Get rid of all SetWindowPos() calls

This actually resizes the client area, but the experience feels way
better if we just leave it at its maximum size.
This commit is contained in:
Robbert van der Helm
2020-04-13 13:54:34 +02:00
parent 7ee1b0223c
commit 266674a217
3 changed files with 14 additions and 34 deletions
-8
View File
@@ -57,14 +57,6 @@ class Editor {
void close();
/**
* Resize the window to match the given size, if open.
*
* @return Whether the resizing was succesful. Will return false if the
* editor isn't open.
*/
bool resize(const int width, const int height);
/**
* Embed the (open) window into a parent window.
*