📄 setup0.h
字号:
// Recommended setting: 1#define wxUSE_DIALUP_MANAGER 1// Compile in classes for run-time DLL loading and function calling.// Required by wxUSE_DIALUP_MANAGER.//// This setting is for Win32 only//// Default is 1.//// Recommended setting: 1#define wxUSE_DYNLIB_CLASS 1// experimental, don't use for now#define wxUSE_DYNAMIC_LOADER 1// Set to 1 to use socket classes#define wxUSE_SOCKETS 1// Set to 1 to enable virtual file systems (required by wxHTML)#define wxUSE_FILESYSTEM 1// Set to 1 to enable virtual ZIP filesystem (requires wxUSE_FILESYSTEM)#define wxUSE_FS_ZIP 1// Set to 1 to enable virtual archive filesystem (requires wxUSE_FILESYSTEM)#define wxUSE_FS_ARCHIVE 1// Set to 1 to enable virtual Internet filesystem (requires wxUSE_FILESYSTEM)#define wxUSE_FS_INET 1// wxArchive classes for accessing archives such as zip and tar#define wxUSE_ARCHIVE_STREAMS 1// Set to 1 to compile wxZipInput/OutputStream classes.#define wxUSE_ZIPSTREAM 1// Set to 1 to compile wxTarInput/OutputStream classes.#define wxUSE_TARSTREAM 1// Set to 1 to compile wxZlibInput/OutputStream classes. Also required by// wxUSE_LIBPNG#define wxUSE_ZLIB 1// If enabled, the code written by Apple will be used to write, in a portable// way, float on the disk. See extended.c for the license which is different// from wxWidgets one.//// Default is 1.//// Recommended setting: 1 unless you don't like the license terms (unlikely)#define wxUSE_APPLE_IEEE 1// Joystick support class#define wxUSE_JOYSTICK 1// wxFontMapper class#define wxUSE_FONTMAP 1// wxMimeTypesManager class#define wxUSE_MIMETYPE 1// wxProtocol and related classes: if you want to use either of wxFTP, wxHTTP// or wxURL you need to set this to 1.//// Default is 1.//// Recommended setting: 1#define wxUSE_PROTOCOL 1// The settings for the individual URL schemes#define wxUSE_PROTOCOL_FILE 1#define wxUSE_PROTOCOL_FTP 1#define wxUSE_PROTOCOL_HTTP 1// Define this to use wxURL class.#define wxUSE_URL 1// Define this to use native platform url and protocol support.// Currently valid only for MS-Windows.// Note: if you set this to 1, you can open ftp/http/gopher sites// and obtain a valid input stream for these sites// even when you set wxUSE_PROTOCOL_FTP/HTTP to 0.// Doing so reduces the code size.//// This code is experimental and subject to change.#define wxUSE_URL_NATIVE 0// Support for wxVariant class used in several places throughout the library,// notably in wxDataViewCtrl API.//// Default is 1.//// Recommended setting: 1 unless you want to reduce the library size as much as// possible in which case setting this to 0 can gain up to 100KB.#define wxUSE_VARIANT 1// Support for regular expression matching via wxRegEx class: enable this to// use POSIX regular expressions in your code. You need to compile regex// library from src/regex to use it under Windows.//// Default is 0//// Recommended setting: 1 if your compiler supports it, if it doesn't please// contribute us a makefile for src/regex for it#define wxUSE_REGEX 1// wxSystemOptions class#define wxUSE_SYSTEM_OPTIONS 1// wxSound class#define wxUSE_SOUND 1// Use wxMediaCtrl//// Default is 1.//// Recommended setting: 1#define wxUSE_MEDIACTRL 1// Use GStreamer for Unix (req a lot of dependancies)//// Default is 0//// Recommended setting: 1 (wxMediaCtrl won't work by default without it)#define wxUSE_GSTREAMER 0// Use wxWidget's XRC XML-based resource system. Recommended.//// Default is 1//// Recommended setting: 1 (requires wxUSE_XML)#define wxUSE_XRC 1// XML parsing classes. Note that their API will change in the future, so// using wxXmlDocument and wxXmlNode in your app is not recommended.//// Default is the same as wxUSE_XRC, i.e. 1 by default.//// Recommended setting: 1 (required by XRC)#define wxUSE_XML wxUSE_XRC// Use wxWidget's AUI docking system//// Default is 1//// Recommended setting: 1#define wxUSE_AUI 1// Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced// 2D drawing API. (Still somewhat experimental)//// Please note that on Windows you will need to link with gdiplus.lib (use// USE_GDIPLUS=1 for makefile builds) and distribute gdiplus.dll with your// application if you want it to be runnable on pre-XP systems.//// Default is 0//// Recommended setting: 1#ifndef wxUSE_GRAPHICS_CONTEXT#define wxUSE_GRAPHICS_CONTEXT 0#endif// ----------------------------------------------------------------------------// Individual GUI controls// ----------------------------------------------------------------------------// You must set wxUSE_CONTROLS to 1 if you are using any controls at all// (without it, wxControl class is not compiled)//// Default is 1//// Recommended setting: 1 (don't change except for very special programs)#define wxUSE_CONTROLS 1// wxPopupWindow class is a top level transient window. It is currently used// to implement wxTipWindow//// Default is 1//// Recommended setting: 1 (may be set to 0 if you don't wxUSE_TIPWINDOW)#define wxUSE_POPUPWIN 1// wxTipWindow allows to implement the custom tooltips, it is used by the// context help classes. Requires wxUSE_POPUPWIN.//// Default is 1//// Recommended setting: 1 (may be set to 0)#define wxUSE_TIPWINDOW 1// Each of the settings below corresponds to one wxWidgets control. They are// all switched on by default but may be disabled if you are sure that your// program (including any standard dialogs it can show!) doesn't need them and// if you desperately want to save some space. If you use any of these you must// set wxUSE_CONTROLS as well.//// Default is 1//// Recommended setting: 1#define wxUSE_ANIMATIONCTRL 1 // wxAnimationCtrl#define wxUSE_BUTTON 1 // wxButton#define wxUSE_BMPBUTTON 1 // wxBitmapButton#define wxUSE_CALENDARCTRL 1 // wxCalendarCtrl#define wxUSE_CHECKBOX 1 // wxCheckBox#define wxUSE_CHECKLISTBOX 1 // wxCheckListBox (requires wxUSE_OWNER_DRAWN)#define wxUSE_CHOICE 1 // wxChoice#define wxUSE_COLLPANE 1 // wxCollapsiblePane#define wxUSE_COLOURPICKERCTRL 1 // wxColourPickerCtrl#define wxUSE_COMBOBOX 1 // wxComboBox#define wxUSE_DATAVIEWCTRL 1 // wxDataViewCtrl#define wxUSE_DATEPICKCTRL 1 // wxDatePickerCtrl#define wxUSE_DIRPICKERCTRL 1 // wxDirPickerCtrl#define wxUSE_FILEPICKERCTRL 1 // wxFilePickerCtrl#define wxUSE_FONTPICKERCTRL 1 // wxFontPickerCtrl#define wxUSE_GAUGE 1 // wxGauge#define wxUSE_HYPERLINKCTRL 1 // wxHyperlinkCtrl#define wxUSE_LISTBOX 1 // wxListBox#define wxUSE_LISTCTRL 1 // wxListCtrl#define wxUSE_RADIOBOX 1 // wxRadioBox#define wxUSE_RADIOBTN 1 // wxRadioButton#define wxUSE_SCROLLBAR 1 // wxScrollBar#define wxUSE_SLIDER 1 // wxSlider#define wxUSE_SPINBTN 1 // wxSpinButton#define wxUSE_SPINCTRL 1 // wxSpinCtrl#define wxUSE_STATBOX 1 // wxStaticBox#define wxUSE_STATLINE 1 // wxStaticLine#define wxUSE_STATTEXT 1 // wxStaticText#define wxUSE_STATBMP 1 // wxStaticBitmap#define wxUSE_TEXTCTRL 1 // wxTextCtrl#define wxUSE_TOGGLEBTN 1 // requires wxButton#define wxUSE_TREECTRL 1 // wxTreeCtrl// Use a status bar class? Depending on the value of wxUSE_NATIVE_STATUSBAR// below either wxStatusBar95 or a generic wxStatusBar will be used.//// Default is 1//// Recommended setting: 1#define wxUSE_STATUSBAR 1// Two status bar implementations are available under Win32: the generic one// or the wrapper around native control. For native look and feel the native// version should be used.//// Default is 1 for the platforms where native status bar is supported.//// Recommended setting: 1 (there is no advantage in using the generic one)#define wxUSE_NATIVE_STATUSBAR 1// wxToolBar related settings: if wxUSE_TOOLBAR is 0, don't compile any toolbar// classes at all. Otherwise, use the native toolbar class unless// wxUSE_TOOLBAR_NATIVE is 0.//// Default is 1 for all settings.//// Recommended setting: 1 for wxUSE_TOOLBAR and wxUSE_TOOLBAR_NATIVE.#define wxUSE_TOOLBAR 1#define wxUSE_TOOLBAR_NATIVE 1// wxNotebook is a control with several "tabs" located on one of its sides. It// may be used to logically organise the data presented to the user instead of// putting everything in one huge dialog. It replaces wxTabControl and related// classes of wxWin 1.6x.//// Default is 1.//// Recommended setting: 1#define wxUSE_NOTEBOOK 1// wxListbook control is similar to wxNotebook but uses wxListCtrl instead of// the tabs//// Default is 1.//// Recommended setting: 1#define wxUSE_LISTBOOK 1// wxChoicebook control is similar to wxNotebook but uses wxChoice instead of// the tabs//// Default is 1.//// Recommended setting: 1#define wxUSE_CHOICEBOOK 1// wxTreebook control is similar to wxNotebook but uses wxTreeCtrl instead of// the tabs//// Default is 1.//// Recommended setting: 1#define wxUSE_TREEBOOK 1// wxToolbook control is similar to wxNotebook but uses wxToolBar instead of// tabs//// Default is 1.//// Recommended setting: 1#define wxUSE_TOOLBOOK 1// wxTabDialog is a generic version of wxNotebook but it is incompatible with// the new class. It shouldn't be used in new code.//// Default is 0.//// Recommended setting: 0 (use wxNotebook)#define wxUSE_TAB_DIALOG 0// wxGrid class//// Default is 1, set to 0 to cut down compilation time and binaries size if you// don't use it.//// Recommended setting: 1//#define wxUSE_GRID 1// wxMiniFrame class: a frame with narrow title bar//// Default is 1.//// Recommended setting: 1 (it doesn't cost almost anything)#define wxUSE_MINIFRAME 1// wxComboCtrl and related classes: combobox with custom popup window and// not necessarily a listbox.//// Default is 1.//// Recommended setting: 1 but can be safely set to 0 except for wxUniv where it// it used by wxComboBox#define wxUSE_COMBOCTRL 1// wxOwnerDrawnComboBox is a custom combobox allowing to paint the combobox// items.//// Default is 1.//// Recommended setting: 1 but can be safely set to 0, except where it is// needed as a base class for generic wxBitmapComboBox.#define wxUSE_ODCOMBOBOX 1// wxBitmapComboBox is a combobox that can have images in front of text items.//// Default is 1.//// Recommended setting: 1 but can be safely set to 0#define wxUSE_BITMAPCOMBOBOX 1// ----------------------------------------------------------------------------// Miscellaneous GUI stuff// ----------------------------------------------------------------------------// wxAcceleratorTable/Entry classes and support for them in wxMenu(Bar)#define wxUSE_ACCEL 1// Hotkey support (currently Windows only)#define wxUSE_HOTKEY 1// Use wxCaret: a class implementing a "cursor" in a text control (called caret// under Windows).//// Default is 1.//// Recommended setting: 1 (can be safely set to 0, not used by the library)#define wxUSE_CARET 1// Use wxDisplay class: it allows enumerating all displays on a system and// their geometries as well as finding the display on which the given point or// window lies.//// Default is 1.//// Recommended setting: 1 if you need it, can be safely set to 0 otherwise#define wxUSE_DISPLAY 1// Miscellaneous geometry code: needed for Canvas library#define wxUSE_GEOMETRY 1// Use wxImageList. This class is needed by wxNotebook, wxTreeCtrl and// wxListCtrl.//// Default is 1.//// Recommended setting: 1 (set it to 0 if you don't use any of the controls// enumerated above, then this class is mostly useless too)#define wxUSE_IMAGLIST 1// Use wxMenu, wxMenuBar, wxMenuItem.//// Default is 1.//// Recommended setting: 1 (can't be disabled under MSW)#define wxUSE_MENUS 1// Use wxSashWindow class.//// Default is 1.//// Recommended setting: 1#define wxUSE_SASH 1// Use wxSplitterWindow class.//// Default is 1.//// Recommended setting: 1#define wxUSE_SPLITTER 1// Use wxToolTip and wxWindow::Set/GetToolTip() methods.//// Default is 1.//// Recommended setting: 1#define wxUSE_TOOLTIPS 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -