class WXDLLIMPEXP_FWD_CORE wxDropTarget;
#endif
-// ----------------------------------------------------------------------------
-// constants
-// ----------------------------------------------------------------------------
-
-
//-----------------------------------------------------------------------------
// internal classes
//-----------------------------------------------------------------------------
{
Init();
}
-
+
wxGenericListCtrl( wxWindow *parent,
wxWindowID winid = wxID_ANY,
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
long style = wxLC_ICON,
const wxValidator& validator = wxDefaultValidator,
- const wxString &name = wxListCtrlNameStr)
+ const wxString &name = wxListCtrlNameStr)
: wxScrollHelper(this)
{
Create(parent, winid, pos, size, style, validator, name);
}
-
+
virtual ~wxGenericListCtrl();
-
+
void Init();
bool Create( wxWindow *parent,
long InsertColumn( long col, const wxString& heading,
int format = wxLIST_FORMAT_LEFT, int width = -1 );
bool ScrollList( int dx, int dy );
- bool SortItems( wxListCtrlCompare fn, long data );
+ bool SortItems( wxListCtrlCompare fn, wxIntPtr data );
bool Update( long item );
// Must provide overload to avoid hiding it (and warnings about it)
virtual void Update() { wxControl::Update(); }
// we need to return a special WM_GETDLGCODE value to process just the
// arrows but let the other navigation characters through
-#ifdef __WXMSW__
- virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
+#if defined(__WXMSW__) && !defined(__WXWINCE__) && !defined(__WXUNIVERSAL__)
+ virtual WXLRESULT
+ MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
#endif // __WXMSW__
WX_FORWARD_TO_SCROLL_HELPER()
: wxGenericListCtrl(parent, winid, pos, size, style, validator, name)
{
}
-
+
};
#endif // !__WXMSW__ || __WXUNIVERSAL__