Search code examples
wxwidgetssizer

wxwidget Set window size to fit screen


How to set application window size to fit entire screen automatically when the application start? Currently using c++ wxwidget GetClientSize but it only allows setting of absolute dimensions.

Cant find any functions or info for this.


Solution

  • @DappyKape,

    Use ShowFullScreen().

    Check display sample for the usage.

    Or call Maximize().