|
Posted on 2010-01-21 04:37 chefZ 阅读(926) 评论(0) 编辑 收藏 引用
Similarity to MFC
MFC and wxWidgets macros
MFC version |
wxWidgets version |
BEGIN_MESSAGE_MAP |
BEGIN_EVENT_TABLE |
END_MESSAGE_MAP |
END_EVENT_TABLE |
DECLARE_DYNAMIC |
DECLARE_CLASS |
DECLARE_DYNCREATE |
DECLARE_DYMAMIC_CLASS |
IMPLEMENT_DYNAMIC |
IMPLEMENT_CLASS |
IMPLEMENT_DYNCREATE |
IMPLEMENT_DYNAMIC_CLASS |
IsKindOf (RUNTIME_CLASS (CWindow)) |
IsKindOf (CLASSINFO(wxWindow)) |
MFC and wxWidgets classes
Miscellaneous Classes |
MFC version |
wxWidgets version |
CWinApp |
wxApp |
CObject |
wxObject |
CCmdTarget |
wxEvtHandler |
CCommandLineInfo |
wxCmdLineParser |
CMenu |
wxMenu, wMenuBar, wxMenuItem |
CWaitCursor |
wxBusyCursor |
CDataExchange |
wxValidator |
Window Classes |
MFC version |
wxWidgets version |
CFrameWnd |
wxFrame |
CMDIFrameWnd |
wxMDIParentFrame |
CMDIChildWnd |
wxMDIChildFrame |
CSplitterWnd |
wxSplitterWindow |
CToolBar |
wxToolBar |
CStatusBar |
wxStatusBar |
CReBar |
wxCoolBar, but see contrib/src/fl and wxAUI, wxDockIt |
CPropertyPage |
wxPanel |
CPropertySheet |
wxNotebook, wxPropertySheetDialog |
Dialog Classes |
MFC version |
wxWidgets version |
CDialog |
wxDialog |
CColorDialog |
wxColourDialog |
CFileDialog |
wxFileDialog |
CFindReplaceDialog |
wxFindReplaceDialog |
CFontDialog |
wxFontDialog |
CPageSetupDialog |
wxPageSetupDialog |
CPrintDialog |
wxPrintDialog |
Control Classes |
MFC version |
wxWidgets version |
CAnimateCtrl |
wxMediaCtrl, wxAnimationCtrl |
CButton |
wxButton |
CBitmapButton |
wxBitmapButton |
CComboBox |
wxComboBox, wxChoice |
CDateTimeCtrl |
wxDatePickerCtrl |
CEdit |
wxTextCtrl |
CHotKeyCtrl |
None, but see Keybinder |
CListBox , CDragListBox |
wxListBox |
CCheckListBox |
wxCheckListBox |
CListCtrl |
wxListCtrl, wxListView |
CMonthCalCtrl |
wxCalendarCtrl |
CProgressCtrl |
wxGauge |
CReBarCtrl |
None, but see contrib/src/fl and wxAUI, wxDockIt |
CRichEditCtrl |
wxTextCtrl |
CScrollBar |
wxScrollBar |
CSliderCtrl |
wxSlider |
CSpinButtonCtrl |
wxSpinButton, wxSpinCtrl |
CStatic |
wxStaticText, wxStaticLine, wxStaticBox, wxStaticBitmap |
CStatusBarCtrl |
wxStatusBar |
CTabCtrl |
wxTabCtrl |
CToolBarCtrl |
wxToolBar |
CToolTipCtrl |
wxToolTip |
CTreeCtrl |
wxTreeCtrl |
Graphics Classes |
MFC version |
wxWidgets version |
CBitmap |
wxBitmap, wxImage, wxIcon, wxCursor |
CBrush |
wxBrush |
CPen |
wxPen |
CFont |
wxFont |
CImageList |
wxImageList, wxIconBundle |
CPalette |
wxPalette |
CRgn |
wxRegion |
CClientDC |
wxClientDC |
CMetaFileDC |
wxMetaFileDC |
CPaintDC |
wxPaintDC |
CWindowDC |
wxWindowDC |
CDC |
wxDC, wxMemoryDC |
Data Structure Classes |
MFC version |
wxWidgets version |
CArray , CObArray , CPtrArray |
wxArray |
CStringArray |
wxArrayString |
CDWordArray , CByteArray , CUIntArray |
wxArrayInt |
CList , CPtrList , CObList |
wxList |
CStringList |
wxArrayString, wxStringList |
CMap |
wxHashMap |
CString |
wxString |
CPoint |
wxPoint |
CRect |
wxRect |
CSize |
wxSize |
CTime |
wxDateTime |
CTimeSpan |
wxTimeSpan, wxDateSpan |
COleVariant |
wxVariant |
Internet Classes |
MFC version |
wxWidgets version |
CSocket |
wxSocket |
CFtpConnection |
wxFTP |
CHttpConnection |
wxHTTP |
Document/View Classes |
MFC version |
wxWidgets version |
CDocument |
wxDocument |
CView |
wxView |
CDocTemplate , CSingleDocTemplate , CMultiDocTemplate |
wxDocTemplate |
Drag and Drop Classes |
MFC version |
wxWidgets version |
COleDataSource |
wxDataObject |
COleDropSource |
wxDropSource |
COleDropTarget |
wxDropTarget |
File Classes |
MFC version |
wxWidgets version |
CFile |
wxFile, wxFFile, wxTextFile |
CMemFile |
wxMemoryInputStream, wxMemoryOutputStream |
CSocketFile |
wxSocketInputStream, wxSocketOutputStream |
CRecentFileList |
wxFileHistory |
Multithreading Classes |
MFC version |
wxWidgets version |
CWinThread |
wxThread |
CCriticalSection |
wxCriticalSection |
CMutex |
wxMutex |
CSemaphore |
wxSemaphore |
|