X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d44b24ee63543390aa28e1eb4ff162da4264838..8f4fcc4ee080b020057cc028a809ffc884f63bb8:/src/os2/control.cpp diff --git a/src/os2/control.cpp b/src/os2/control.cpp index f1168950f8..f9f19112b9 100644 --- a/src/os2/control.cpp +++ b/src/os2/control.cpp @@ -20,6 +20,7 @@ #include "wx/event.h" #include "wx/app.h" #include "wx/dcclient.h" +#include "wx/scrolwin.h" #endif #include "wx/os2/private.h" #include "wx/control.h" @@ -135,6 +136,8 @@ bool wxControl::OS2CreateControl( zClass = WC_COMBOBOX; else if ((strcmp(zClassname, "STATIC")) == 0) zClass = WC_STATIC; + else if ((strcmp(zClassname, "BUTTON")) == 0) + zClass = WC_BUTTON; dwStyle |= WS_VISIBLE; //