X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f932daffcb1edacc0c8c0cbba18a1427360236ce..e02c72fa45b840601743e11bc6550481a36fa437:/src/palmos/treectrl.cpp diff --git a/src/palmos/treectrl.cpp b/src/palmos/treectrl.cpp index 5655c5fd66..821620c2ae 100644 --- a/src/palmos/treectrl.cpp +++ b/src/palmos/treectrl.cpp @@ -1,10 +1,10 @@ ///////////////////////////////////////////////////////////////////////////// // Name: src/palmos/treectrl.cpp // Purpose: wxTreeCtrl -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "treectrl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -30,21 +26,18 @@ #if wxUSE_TREECTRL -#include "wx/palmos/private.h" +#include "wx/treectrl.h" -// Set this to 1 to be _absolutely_ sure that repainting will work for all -// comctl32.dll versions -#define wxUSE_COMCTL32_SAFELY 0 +#ifndef WX_PRECOMP + #include "wx/dynarray.h" + #include "wx/log.h" + #include "wx/app.h" + #include "wx/settings.h" +#endif -#include "wx/app.h" -#include "wx/log.h" -#include "wx/dynarray.h" -#include "wx/imaglist.h" -#include "wx/settings.h" -#include "wx/msw/treectrl.h" -#include "wx/msw/dragimag.h" +#include "wx/palmos/private.h" -#include "wx/palmos/wrapcctl.h" +#include "wx/imaglist.h" // macros to hide the cast ugliness // -------------------------------- @@ -222,8 +215,9 @@ void wxTreeCtrl::DoSetItem(wxTreeViewItem* tvItem) { } -size_t wxTreeCtrl::GetCount() const +unsigned int wxTreeCtrl::GetCount() const { + // TODO return 0; } @@ -716,26 +710,6 @@ void wxTreeCtrl::SortChildren(const wxTreeItemId& item) } } -// ---------------------------------------------------------------------------- -// implementation -// ---------------------------------------------------------------------------- - -bool wxTreeCtrl::MSWCommand(WXUINT cmd, WXWORD id) -{ - return false; -} - -WXLRESULT wxTreeCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) -{ - return 0; -} - -// process WM_NOTIFY Windows message -bool wxTreeCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) -{ - return false; -} - // ---------------------------------------------------------------------------- // State control. // ---------------------------------------------------------------------------- @@ -753,4 +727,3 @@ int wxTreeCtrl::GetState(const wxTreeItemId& node) } #endif // wxUSE_TREECTRL -