Fix Unix build when using precompiled headers
In a twist on the usual theme, the previous commits broke the Unix build when _using_ PCH because wx/textcompleter.h was only included from inside "#ifndef WX_PRECOMP" check, but it needs to be always included as wx/wx.h doesn't include it.
This commit is contained in:
@@ -28,10 +28,11 @@
|
|||||||
#include "wx/event.h"
|
#include "wx/event.h"
|
||||||
#include "wx/textentry.h"
|
#include "wx/textentry.h"
|
||||||
#include "wx/textctrl.h"
|
#include "wx/textctrl.h"
|
||||||
#include "wx/textcompleter.h"
|
|
||||||
#include "wx/window.h"
|
#include "wx/window.h"
|
||||||
#endif //WX_PRECOMP
|
#endif //WX_PRECOMP
|
||||||
|
|
||||||
|
#include "wx/textcompleter.h"
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
#include "wx/gtk/private.h"
|
#include "wx/gtk/private.h"
|
||||||
#include "wx/gtk/private/gtk2-compat.h"
|
#include "wx/gtk/private/gtk2-compat.h"
|
||||||
|
Reference in New Issue
Block a user