Added GTK+ headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,6 +35,11 @@
|
||||
#include "wx/mac/carbon/private.h"
|
||||
#endif
|
||||
|
||||
#ifdef __WXGTK__
|
||||
#include <gtk/gtk.h>
|
||||
#include "wx/gtk/win_gtk.h"
|
||||
#endif
|
||||
|
||||
#include "wx/arrimpl.cpp"
|
||||
WX_DEFINE_OBJARRAY(wxAuiNotebookPageArray)
|
||||
WX_DEFINE_OBJARRAY(wxAuiTabContainerButtonArray)
|
||||
@@ -125,9 +130,9 @@ static void DrawFocusRect(wxWindow* win, wxDC& dc, const wxRect& rect, int flags
|
||||
wxT("cannot draw focus rectangle on wxDC of this type") );
|
||||
|
||||
GtkStateType state;
|
||||
if (flags & wxCONTROL_SELECTED)
|
||||
state = GTK_STATE_SELECTED;
|
||||
else
|
||||
//if (flags & wxCONTROL_SELECTED)
|
||||
// state = GTK_STATE_SELECTED;
|
||||
//else
|
||||
state = GTK_STATE_NORMAL;
|
||||
|
||||
gtk_paint_focus( win->m_widget->style,
|
||||
|
Reference in New Issue
Block a user