Search found 2 matches

by crownz
Fri Oct 11, 2019 3:01 pm
Forum: C++ Development
Topic: Using GetSizer and Size Event Handler to resize a drawing
Replies: 3
Views: 910

Re: Using GetSizer and Size Event Handler to resize a drawing

So GetClientRect() can be used to create different shapes? It's not only for creating a rectangle shape?
by crownz
Fri Oct 11, 2019 2:30 pm
Forum: C++ Development
Topic: Using GetSizer and Size Event Handler to resize a drawing
Replies: 3
Views: 910

Using GetSizer and Size Event Handler to resize a drawing

I am trying to learn WxWidgets with C++ (I am very new at this), and I have created a window with a black background color and has a big red "X" on it. I have to edit the code so that the "X" changes its size with the window as I am resizing the window. How can I properly get the...