non-pch build fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2007-12-30 19:12:04 +00:00
parent f464ecc775
commit 5e6f89276d
2 changed files with 6 additions and 2 deletions

View File

@ -24,6 +24,8 @@
#include "wx/icon.h"
#include "wx/imaglist.h"
class WXDLLIMPEXP_FWD_CORE wxDataFormat;
#if defined(__WXGTK20__)
// for testing
// #define wxUSE_GENERICDATAVIEWCTRL 1
@ -96,7 +98,7 @@ WX_DEFINE_ARRAY(wxDataViewItem, wxDataViewItemArray);
class WXDLLIMPEXP_ADV wxDataViewModelNotifier
{
public:
wxDataViewModelNotifier() { }
wxDataViewModelNotifier() { m_owner = NULL; }
virtual ~wxDataViewModelNotifier() { m_owner = NULL; }
virtual bool ItemAdded( const wxDataViewItem &parent, const wxDataViewItem &item ) = 0;
@ -406,7 +408,8 @@ class WXDLLIMPEXP_ADV wxDataViewIconText: public wxObject
{
public:
wxDataViewIconText( const wxString &text = wxEmptyString, const wxIcon& icon = wxNullIcon )
{ m_icon = icon; m_text = text; }
: m_text(text), m_icon(icon)
{ }
wxDataViewIconText( const wxDataViewIconText &other )
{ m_icon = other.m_icon; m_text = other.m_text; }

View File

@ -23,6 +23,7 @@
#include "wx/icon.h"
#include "wx/list.h"
#include "wx/settings.h"
#include "wx/dataobj.h"
#include "wx/crt.h"
#endif