Home /
Expert Answers /
Computer Science /
c-the-drawingpanel-is-going-to-be-a-child-of-mainwindow-so-when-drawingpanel-is-instantiated-pa454
(Solved): C++ The DrawingPanel is going to be a child of MainWindow, so when DrawingPanel is instantiated, ...
C++ The DrawingPanel is going to be a child of MainWindow, so when DrawingPanel is instantiated, there is need to pass in `this` to use as the parent. The other difference is that there is no title for a wxPanel.