X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..0180dad680ecbe4cb5cf8e6e45ce569f7a1029f7:/include/wx/control.h diff --git a/include/wx/control.h b/include/wx/control.h index bb5003ae20..40bc3ab8fd 100644 --- a/include/wx/control.h +++ b/include/wx/control.h @@ -1,13 +1,22 @@ -#ifndef __CONTROLH_BASE__ -#define __CONTROLH_BASE__ +#ifndef _WX_CONTROL_H_BASE_ +#define _WX_CONTROL_H_BASE_ -#if defined(__WINDOWS__) +// all classes derived from wxControl need the validators +#include "wx/validate.h" + +#if defined(__WXMSW__) #include "wx/msw/control.h" -#elif defined(__MOTIF__) -#include "wx/xt/control.h" -#elif defined(__GTK__) +#elif defined(__WXMOTIF__) +#include "wx/motif/control.h" +#elif defined(__WXGTK__) #include "wx/gtk/control.h" +#elif defined(__WXQT__) +#include "wx/qt/control.h" +#elif defined(__WXMAC__) +#include "wx/mac/control.h" +#elif defined(__WXSTUBS__) +#include "wx/stubs/control.h" #endif #endif - // __CONTROLH_BASE__ + // _WX_CONTROL_H_BASE_