(Open Watcom but not only) compilation warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -104,7 +104,7 @@ private:
|
||||
// structure describing a registry key/value
|
||||
class TreeNode : public wxTreeItemData
|
||||
{
|
||||
WX_DEFINE_ARRAY(TreeNode *, TreeChildren);
|
||||
WX_DEFINE_ARRAY_NO_PTR(TreeNode *, TreeChildren);
|
||||
public:
|
||||
RegTreeCtrl *m_pTree; // must be !NULL
|
||||
TreeNode *m_pParent; // NULL only for the root node
|
||||
@@ -1071,7 +1071,7 @@ void RegTreeCtrl::GoTo(const wxString& location)
|
||||
void RegTreeCtrl::DeleteSelected()
|
||||
{
|
||||
long lCurrent = GetSelection(),
|
||||
lParent = GetParent(lCurrent);
|
||||
lParent = GetItemParent(lCurrent);
|
||||
|
||||
if ( lParent == 0 ) {
|
||||
wxLogError(wxT("Can't delete root key."));
|
||||
|
Reference in New Issue
Block a user