Whats the difference between a wxFrame and a wxDialog?
A frame is what you normally think of as a window; it’s used for the primary application display or documents or other long-running views. A dialog is for short term interactions to query the user for specific information. From the end user perspective, some platforms might render dialogs differently, e.g. with different decorations. From the programmer perspective, dialogs can (more easily) be modal, and don’t delete themselves on close so that you can retrieve the information from them after close. If you were writing a web browser in wxWidgets, the browser window would be a frame and the preferences dialog would be a dialog. If you were writing a word processor in wxWidgets, the document would be a frame and the font dialog would be a dialog. If you’re tempted to put an “OK” button on a top level window, it’s probably a dialog. If you’re tempted to use a menu with a top level window, it’s probably a frame.