// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "dirctrlg.h"
#endif
continue;
}
// add path separator at end if necessary
- wxString path( thePath ) ;
+ wxString path( thePath , wxConvLocal) ;
if (path.Last() != wxFILE_SEP_PATH) {
path += wxFILE_SEP_PATH;
}
CFRelease( cstr );
continue;
}
- wxString name( cstr );
+ wxString name( cstr , wxConvLocal );
DisposePtr( cstr );
CFRelease( cfstr );
IMPLEMENT_DYNAMIC_CLASS(wxGenericDirCtrl, wxControl)
+/*
+TODO PROPERTIES
+ defaultfolder string
+ filter string
+ (long) defaultfilter)
+*/
+
BEGIN_EVENT_TABLE(wxGenericDirCtrl, wxControl)
EVT_TREE_ITEM_EXPANDING (-1, wxGenericDirCtrl::OnExpandItem)
EVT_TREE_ITEM_COLLAPSED (-1, wxGenericDirCtrl::OnCollapseItem)