Added IRIX compile fixes

Added functions that must be handed down
   from wxListCtrl to the main window


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-08-17 20:07:50 +00:00
parent 652e7bb422
commit 77e7a1dc48
5 changed files with 37 additions and 13 deletions

View File

@@ -593,12 +593,26 @@ class wxListCtrl: public wxControl
bool SortItems(wxListCtrlCompare fn, long data);
bool Update(long item);
virtual bool OnListNotify(wxListEvent& WXUNUSED(event)) { return FALSE; }
void SetDropTarget( wxDropTarget *dropTarget )
{ m_mainWin->SetDropTarget( dropTarget ); };
wxDropTarget *GetDropTarget() const
{ return m_mainWin->GetDropTarget(); };
void OnIdle( wxIdleEvent &event );
// We have to hand down a few functions
void SetDropTarget( wxDropTarget *dropTarget )
{ m_mainWin->SetDropTarget( dropTarget ); }
wxDropTarget *GetDropTarget() const
{ return m_mainWin->GetDropTarget(); }
void SetCursor( const wxCursor &cursor )
{ m_mainWin->SetCursor( cursor); }
wxColour GetBackgroundColour() const
{ return m_mainWin->GetBackgroundColour(); }
void SetBackgroundColour( const wxColour &colour )
{ m_mainWin->SetBackgroundColour(); }
wxColour GetForegroundColour() const
{ return m_mainWin->GetForegroundColour(); }
void SetForegroundColour( const wxColour &colour )
{ return m_mainWin->GetForegroundColour(); }
bool PopupMenu( wxMenu *menu, int x, int y )
{ m_mainWin->PopupMenu( menu, x, y ); }
protected: