X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/451f6363c9ce312d7fefc1fe6920b9c6b3f04229..1d421f0c396c4b29cc2e7a867845284a4108d3c0:/include/wx/msw/choice.h diff --git a/include/wx/msw/choice.h b/include/wx/msw/choice.h index d0cce839b2..4661025fe9 100644 --- a/include/wx/msw/choice.h +++ b/include/wx/msw/choice.h @@ -36,6 +36,7 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxChoiceNameStr) { + Init(); Create(parent, id, pos, size, n, choices, style, validator, name); } @@ -48,6 +49,7 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxChoiceNameStr) { + Init(); Create(parent, id, pos, size, choices, style, validator, name); }