build fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-10-25 16:13:06 +00:00
parent 93b7620bef
commit c3c62822fd
3 changed files with 14 additions and 14 deletions

View File

@@ -78,7 +78,7 @@ public:
operator const void* () const { return m_id; } operator const void* () const { return m_id; }
#ifdef __WXDEBUG__ #ifdef __WXDEBUG__
void Print( const wxString &text ) const { wxPrintf( "item %s: %d\n", text, (int) m_id ); } void Print( const wxString &text ) const;
#endif #endif
private: private:

View File

@@ -20,12 +20,13 @@
#include "wx/dataview.h" #include "wx/dataview.h"
#include "wx/spinctrl.h" #include "wx/spinctrl.h"
#include "wx/dc.h"
#include "wx/settings.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/dc.h"
#include "wx/settings.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/icon.h" #include "wx/icon.h"
#include "wx/crt.h"
#endif #endif
const wxChar wxDataViewCtrlNameStr[] = wxT("dataviewCtrl"); const wxChar wxDataViewCtrlNameStr[] = wxT("dataviewCtrl");
@@ -36,6 +37,12 @@ bool operator == (const wxDataViewItem &left, const wxDataViewItem &right)
return (left.GetID() == right.GetID() ); return (left.GetID() == right.GetID() );
} }
#ifdef __WXDEBUG__
void wxDataViewItem::Print(const wxString& text) const
{
wxPrintf("item %s: %l\n", text, (long)m_id);
}
#endif
// --------------------------------------------------------- // ---------------------------------------------------------
// wxDataViewModelNotifier // wxDataViewModelNotifier

View File

@@ -20,25 +20,18 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/dcclient.h" #include "wx/dcclient.h"
#include "wx/sizer.h" #include "wx/sizer.h"
#include "wx/icon.h"
#include "wx/list.h"
#include "wx/settings.h"
#include "wx/crt.h"
#endif #endif
#include "wx/stockitem.h" #include "wx/stockitem.h"
#include "wx/calctrl.h" #include "wx/calctrl.h"
#include "wx/popupwin.h" #include "wx/popupwin.h"
#include "wx/icon.h"
#include "wx/list.h"
#include "wx/listimpl.cpp" #include "wx/listimpl.cpp"
#include "wx/settings.h"
#include "wx/gtk/private.h" #include "wx/gtk/private.h"
#include "wx/gtk/win_gtk.h"
#include <gobject/gvaluecollector.h>
#include <gtk/gtktreemodel.h>
#include <gtk/gtktreesortable.h>
#include <gtk/gtktreednd.h>
#include <gdk/gdkkeysyms.h>
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------