亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? porting.tex

?? wxWidgets 是一個跨平臺的 GUI 框架。它給開發人員提供了統一的接口
?? TEX
?? 第 1 頁 / 共 2 頁
字號:
from other parts of the program.You {\bf must } create a wxPaintDC if you define an OnPaint handler, even if you do notactually use this device context, or painting will not work correctly under Windows.If you used device context functions with wxPoint or wxIntPoint before, please notethat wxPoint now contains integer members, and there is a new class wxRealPoint. wxIntPointno longer exists.wxMetaFile and wxMetaFileDC have been renamed to wxMetafile and wxMetafileDC.\section{Miscellaneous}\subsection{Strings}wxString has replaced char* in the majority of cases. For passing strings into functions,this should not normally require you to change your code if the syntax is otherwise thesame. This is because C++ will automatically convert a char* or const char* to a wxString by virtueof appropriate wxString constructors.However, when a wxString is returned from a function in wxWidgets 2.0 where a char* wasreturned in wxWidgets 1.xx, your application will need to be changed. Usually you cansimplify your application's allocation and deallocation of memory for the returned string,and simply assign the result to a wxString object. For example, replace this:{\small\begin{verbatim}  char* s = wxFunctionThatReturnsString();  s = copystring(s); // Take a copy in case it is temporary  .... // Do something with it  delete[] s;\end{verbatim}}with this:{\small\begin{verbatim}  wxString s = wxFunctionThatReturnsString();  .... // Do something with it\end{verbatim}}To indicate an empty return value or a problem, a function may return either theempty string (``") or a null string. You can check for a null string with wxString::IsNull().\subsection{Use of const}The {\bf const} keyword is now used to denote constant functions that do not affect theobject, and for function arguments to denote that the object passed cannot be changed.This should not affect your application except for where you are overriding virtual functionswhich now have a different signature. If functions are not being called which were previously,check whether there is a parameter mismatch (or function type mismatch) involving consts.Try to use the {\bf const} keyword in your own code where possible.\section{Backward compatibility}\label{portingcompat}Some wxWidgets 1.xx functionality has been left to ease the transition to 2.0. This functionality(usually) only works if you compile with WXWIN\_COMPATIBILITY set to 1 in setup.h.Mostly this defines old names to be the new names (e.g. wxRectangle is defined to be wxRect).\section{Quick reference}\label{portingquickreference}This section allows you to quickly find features thatneed to be converted.\subsection{Include files}Use the form:\begin{verbatim}#include <wx/wx.h>#include <wx/button.h>\end{verbatim}For precompiled header support, use this form:\begin{verbatim}// For compilers that support precompilation, includes "wx.h".#include <wx/wxprec.h>#ifdef __BORLANDC__    #pragma hdrstop#endif// Any files you want to include if not precompiling by including// the whole of <wx/wx.h>#ifndef WX_PRECOMP    #include <stdio.h>    #include <wx/setup.h>    #include <wx/bitmap.h>    #include <wx/brush.h>#endif// Any files you want to include regardless of precompiled headers#include <wx/toolbar.h>\end{verbatim}\subsection{IPC classes}These are now separated out into wxDDEServer/Client/Connection (Windows only) and wxTCPServer/Client/Connection(Windows and Unix). Take care to use wxString for your overridden function arguments, instead of char*, as perthe documentation.\subsection{MDI style frames}MDI is now implemented as a family of separate classes, so you can't switch to MDI just byusing a different frame style. Please see the documentation for the MDI frame classes, and the MDIsample may be helpful too.\subsection{OnActivate}Replace the arguments with one wxActivateEvent\& argument, make sure the function isn't virtual,and add an EVT\_ACTIVATE event table entry.\subsection{OnChar}This is now a non-virtual function, with the same wxKeyEvent\& argument as before.Add an EVT\_CHAR macro to the event tablefor your window, and the implementation of your function will need very few changes.\subsection{OnClose}The old virtual function OnClose is now obsolete.Add an OnCloseWindow event handler using an EVT\_CLOSE event table entry. For detailsabout window destruction, see the Windows Deletion Overview in the manual. This is a subtletopic so please read it very carefully. Basically, OnCloseWindow is now responsible fordestroying a window with Destroy(), but the default implementation (for example for wxDialog) may notdestroy the window, so to be sure, always provide this event handler so it is obvious what's going on.\subsection{OnEvent}This is now a non-virtual function, with the same wxMouseEvent\& argument as before. Howeveryou may wish to rename it OnMouseEvent. Add an EVT\_MOUSE\_EVENTS macro to the event tablefor your window, and the implementation of your function will need very few changes.However, if you wish to intercept different events using different functions, you canspecify specific events in your event table, such as EVT\_LEFT\_DOWN.Your OnEvent function is likely to have references to GetDC(), so make sure you createa wxClientDC instead. See \helpref{Device contexts}{portingdc}.If you are using a wxScrolledWindow (formerly wxCanvas), you should callPrepareDC(dc) to set the correct translation for the current scroll position.\subsection{OnMenuCommand}You need to replace this virtual function with a series of non-virtual functions, one foreach case of your old switch statement. Each function takes a wxCommandEvent\& argument.Create an event table for your framecontaining EVT\_MENU macros, and insert DECLARE\_EVENT\_TABLE() in your frame class, asper the samples.\subsection{OnPaint}This is now a non-virtual function, with a wxPaintEvent\& argument.Add an EVT\_PAINT macro to the event tablefor your window.Your function {\it must} create a wxPaintDC object, instead of using GetDC toobtain the device context.If you are using a wxScrolledWindow (formerly wxCanvas), you should callPrepareDC(dc) to set the correct translation for the current scroll position.\subsection{OnSize}Replace the arguments with one wxSizeEvent\& argument, make it non-virtual, and add to yourevent table using EVT\_SIZE.\subsection{wxApp definition}The definition of OnInit has changed. Return a bool value, not a wxFrame.Also, do {\it not} declare a global application object. Instead, use the macrosDECLARE\_APP and IMPLEMENT\_APP as per the samples. Remove any occurrences of IMPLEMENT\_WXWIN\_MAIN:this is subsumed in IMPLEMENT\_APP.\subsection{wxButton}For bitmap buttons, use wxBitmapButton.\subsection{wxCanvas}Change the name to wxScrolledWindow.\subsection{wxDialogBox}Change the name to wxDialog, and for modal dialogs, use ShowModal instead of Show.\subsection{wxDialog::Show}If you used {\bf Show} to show a modal dialog or to override the standardmodal dialog {\bf Show}, use {\bf ShowModal} instead.\wxheading{See also}\helpref{Dialogs and controls}{portingdialogscontrols}\subsection{wxForm}Sorry, this class is no longer available. Try using the wxPropertyListView or wxPropertyFormView classinstead, or use .wxr files and validators.\subsection{wxPoint}The old wxPoint is called wxRealPoint, and wxPoint now uses integers.\subsection{wxRectangle}This is now called wxRect.\subsection{wxScrollBar}The function names have changed for this class: please refer to the documentation for wxScrollBar. Insteadof setting properties individually, you will call SetScrollbar with several parameters.\subsection{wxText, wxMultiText, wxTextWindow}Change all these to wxTextCtrl. Add the window style wxTE\_MULTILINE if youwish to have a multi-line text control.\subsection{wxToolBar}This name is an alias for the most popular form of toolbar for your platform. There is now a familyof toolbar classes, with for example wxToolBar95, wxToolBarMSW and wxToolBarSimple classes existingunder Windows 95.Toolbar management is supported by frames, so calling wxFrame::CreateToolBar and adding tools is usuallyenough, and the SDI or MDI frame will manage the positioning for you. The client area of the frame is the spaceleft over when the menu bar, toolbar and status bar have been taken into account.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品盗摄一区二区三区| 91麻豆精品国产综合久久久久久 | 精品无人区卡一卡二卡三乱码免费卡| 国产精品麻豆久久久| 久久美女高清视频| 国产亚洲综合在线| 国产精品国产馆在线真实露脸| 国产日产欧美一区二区视频| 亚洲精品一区二区三区蜜桃下载| 久久综合色天天久久综合图片| 久久青草欧美一区二区三区| 久久久国际精品| 国产精品免费免费| 亚洲另类中文字| 香蕉影视欧美成人| 日本亚洲天堂网| 国产成人在线视频播放| 国产成都精品91一区二区三| 99久久精品国产一区| 日本乱码高清不卡字幕| 5月丁香婷婷综合| 久久精品视频一区| 一区二区三区在线播| 午夜精品福利一区二区三区av| 亚洲va国产va欧美va观看| 久久99精品国产.久久久久| 国产精品91xxx| 欧美午夜寂寞影院| xnxx国产精品| 亚洲国产综合人成综合网站| 久久er精品视频| 97精品久久久久中文字幕| 69精品人人人人| 国产精品天干天干在线综合| 亚洲国产成人高清精品| 国产精品一区专区| 欧美日韩一级二级| 日本一二三不卡| 免费观看91视频大全| 99精品在线免费| 久久婷婷久久一区二区三区| 亚洲美女免费在线| 国产剧情在线观看一区二区| 色成年激情久久综合| 久久精品人人做人人综合| 五月天亚洲精品| 99视频精品免费视频| 26uuu色噜噜精品一区二区| 亚洲愉拍自拍另类高清精品| 国产毛片精品视频| 欧美一区日本一区韩国一区| 亚洲视频精选在线| 国产很黄免费观看久久| 欧美日韩精品一区视频| 亚洲日本丝袜连裤袜办公室| 国产麻豆精品久久一二三| 91精品久久久久久久久99蜜臂 | 粉嫩一区二区三区在线看| 欧美日韩成人综合天天影院 | 日韩激情视频网站| 久久久久久99久久久精品网站| 欧美美女黄视频| 亚洲精品一区二区三区香蕉| 久久精品人人做人人爽97 | 欧美无乱码久久久免费午夜一区| 精品噜噜噜噜久久久久久久久试看 | 日本韩国一区二区三区| 国产精品福利av| 国产成人综合在线播放| 日韩欧美aaaaaa| 久久丁香综合五月国产三级网站| 欧美日韩免费不卡视频一区二区三区 | 青青草国产精品97视觉盛宴| 欧美日韩国产小视频在线观看| 亚洲欧美一区二区三区孕妇| 欧美精品九九99久久| 亚洲午夜精品在线| 精品视频一区二区三区免费| 亚洲一区二区三区四区的| 色婷婷久久久久swag精品| 亚洲视频中文字幕| 91久久精品国产91性色tv| 亚洲精品水蜜桃| 欧美性一二三区| 日本vs亚洲vs韩国一区三区二区| 8x福利精品第一导航| 久久精工是国产品牌吗| 国产婷婷色一区二区三区 | 春色校园综合激情亚洲| 欧美国产日韩亚洲一区| 97精品久久久久中文字幕| 一区二区在线观看视频在线观看| 欧美日高清视频| 蜜臀久久99精品久久久久宅男| 欧美v日韩v国产v| 国产综合色产在线精品| 国产精品电影院| 欧美日韩国产区一| 国产精品一品二品| 伊人性伊人情综合网| 91麻豆精品国产91久久久久久久久| 免费在线一区观看| 中文字幕第一区第二区| 欧美最猛黑人xxxxx猛交| 免费在线观看精品| 成人欧美一区二区三区小说| 在线观看欧美精品| 国产一区二区精品久久91| 1区2区3区国产精品| 欧美日韩久久久一区| 国产一区美女在线| 一区二区久久久久| 亚洲精品在线一区二区| 91视频在线观看免费| 麻豆91小视频| 亚洲美腿欧美偷拍| 久久免费午夜影院| 欧洲人成人精品| 国产电影一区在线| 午夜精品福利视频网站| 中文字幕第一区| 2023国产精品自拍| 欧美精品乱码久久久久久按摩| 成人黄色软件下载| 国模冰冰炮一区二区| 香蕉乱码成人久久天堂爱免费| 国产精品毛片无遮挡高清| 日韩限制级电影在线观看| 欧美性受xxxx黑人xyx| av电影天堂一区二区在线观看| 蜜臂av日日欢夜夜爽一区| 亚洲一区二区在线观看视频| 中文字幕免费不卡在线| 久久亚洲精精品中文字幕早川悠里 | 国产麻豆91精品| 奇米色777欧美一区二区| 亚洲va国产va欧美va观看| 亚洲精品日日夜夜| 国产精品三级av| 国产视频一区在线播放| 日韩欧美第一区| 日韩免费一区二区| 欧美一区二区视频网站| 欧美偷拍一区二区| 91国偷自产一区二区三区观看| 成人动漫一区二区| 国产成人精品综合在线观看| 国模少妇一区二区三区| 麻豆91在线播放| 精品一区二区三区免费毛片爱| 婷婷国产v国产偷v亚洲高清| 亚洲第一福利视频在线| 亚洲aaa精品| 日本亚洲视频在线| 九一九一国产精品| 国产专区综合网| 国产成人免费高清| 99国产精品99久久久久久| 91在线看国产| 欧美伊人久久大香线蕉综合69| 欧洲色大大久久| 7777精品伊人久久久大香线蕉完整版 | 成人app在线| 97精品超碰一区二区三区| 成人永久看片免费视频天堂| 成人午夜视频免费看| 色综合久久中文字幕综合网| 在线观看亚洲精品视频| 欧美人与性动xxxx| 日韩精品专区在线影院重磅| 亚洲精品在线一区二区| 国产精品电影院| 日产精品久久久久久久性色| 麻豆精品一区二区| 成人黄色软件下载| 欧美日韩国产小视频| 久久尤物电影视频在线观看| 国产欧美一区二区精品婷婷| 中文字幕佐山爱一区二区免费| 天天色综合天天| 国产一区二区三区不卡在线观看| 不卡视频一二三| 在线播放视频一区| 中文字幕av一区二区三区| 一区二区成人在线视频| 麻豆国产一区二区| 色菇凉天天综合网| 久久免费国产精品| 亚洲成av人片在www色猫咪| 国产一区视频网站| 欧美日韩和欧美的一区二区| 久久影院午夜论| 亚洲高清不卡在线观看| 国产一级精品在线| 51午夜精品国产| 亚洲欧美日韩综合aⅴ视频| 美女网站色91| 欧美剧情片在线观看| 国产精品美女一区二区| 日本不卡一区二区三区|