diff --git a/utils/configtool/configs/wxwin250.wxs b/utils/configtool/configs/wxwin250.wxs index 907b9ad6df..f705fe06be 100644 --- a/utils/configtool/configs/wxwin250.wxs +++ b/utils/configtool/configs/wxwin250.wxs @@ -10,6 +10,7 @@ + @@ -27,6 +28,7 @@ There may be several targets per platform; for example on MS Windows, you can ch + @@ -45,6 +47,7 @@ This port is for Windows 9x, ME, NT, 2K, XP, using the native widgets. + MGL,X11,Mac Carbon,GTK+ 1.x,Motif,OS/2,Mac Cocoa,GTK+ 2.x,Wine,Windows/Universal --with-msw @@ -53,7 +56,7 @@ This port is for Windows 9x, ME, NT, 2K, XP, using the native widgets. 1 - 1 + 0 Windows/Universal <b>Windows/Universal</b><P> @@ -63,6 +66,7 @@ A port for MS Windows, using the wxUniversal widget set. + GTK+ 1.x,GTK+ 2.x,Mac Carbon,Mac Cocoa,MGL,Motif,OS/2,Windows,Wine,X11 --with-msw @@ -82,6 +86,7 @@ This port is based on the wxUniversal widgets. + MGL,Mac Carbon,Windows,GTK+ 1.x,Motif,OS/2,Mac Cocoa,GTK+ 2.x,Wine,Windows/Universal --with-x11 @@ -101,6 +106,7 @@ A port for Mac OS 9 and Mac OS 10.x. + MGL,X11,Windows,GTK+ 1.x,Motif,OS/2,Mac Cocoa,GTK+ 2.x,Wine,Windows/Universal --with-mac @@ -119,6 +125,7 @@ This port uses the Cocoa API on Mac OS X. + GTK+ 2.x,GTK+ 1.x,Mac Carbon,MGL,Motif,Windows,OS/2,Wine,X11,Windows/Universal --with-cocoa @@ -138,6 +145,7 @@ This port is based on the GTK+ 1.x and 2.x widget set. + MGL,X11,Mac Carbon,Windows,Motif,OS/2,Mac Cocoa,GTK+ 2.x,Wine,Windows/Universal --with-gtk @@ -156,6 +164,7 @@ This port uses GTK+ 2. + Mac Cocoa,GTK+ 1.x,Mac Carbon,MGL,Motif,Windows,OS/2,Wine,X11,Windows/Universal --with-gtk2 @@ -175,6 +184,7 @@ This port uses Motif 1.x/2.x or Lesstif. + MGL,X11,Mac Carbon,Windows,GTK+ 1.x,OS/2,Mac Cocoa,GTK+ 2.x,Wine,Windows/Universal --with-motif @@ -193,6 +203,7 @@ This port uses OS/2 Presentation Manager. + GTK+ 1.x,Mac Carbon,MGL,Motif,Windows,X11,Mac Cocoa,GTK+ 2.x,Wine,Windows/Universal --with-pm @@ -201,7 +212,7 @@ This port uses OS/2 Presentation Manager. 1 - 0 + 1 Wine <B>Wine port</B><P> @@ -211,6 +222,7 @@ The wxMSW port built for Wine (Windows emulation library). + Mac Cocoa,GTK+ 1.x,GTK+ 2.x,Mac Carbon,MGL,Motif,Windows,OS/2,X11,Windows/Universal --with-wine @@ -229,234 +241,426 @@ This port is based on the wxUniversal widgets. + X11,Mac Carbon,Windows,GTK+ 1.x,Motif,OS/2,Mac Cocoa,Wine,GTK+ 2.x,Windows/Universal --with-mgl - - - 1 - 0 - Build options - <B>Build options</B><P> + + 1 + 0 + Target symbols + <B>Build options</B><P> Major build options. - 1 - - - - - - - - - - - 1 - 1 - wxUSE_GUI - <B>Use GUI</B><P> - -If on, builds a GUI version of the library as opposed to wxBase. Currently, this needs to be enabled. 1 - - - --enable-gui - - - - - 0 - 1 - __WXMSW__ - This is enabled if the relevant platform settings are enabled. - 1 - Windows,Wine,Windows/Universal - - Windows,Wine,Windows/Universal - + - - - 0 - 0 - __WXGTK__ - This is enabled if the relevant platform settings are enabled. + + 1 + 1 + wxUSE_GUI + <B>Use GUI</B><P> + +If on, builds a GUI version of the library as opposed to wxBase. Currently, this needs to be enabled. + 1 + + + + + + + + --enable-gui + + + + + 0 + 1 + __WXMSW__ + This is enabled if the relevant platform settings are enabled. + 1 + Windows,Wine,Windows/Universal + + Windows,Wine,Windows/Universal + + + + + + + + + + 0 + 0 + __WXGTK__ + This is enabled if the relevant platform settings are enabled. - 1 - GTK+ 1.x,GTK+ 2.x - - GTK+ 1.x,GTK+ 2.x - - - - - - - - - 0 - 0 - __WXGTK20__ - This is enabled if the relevant platform settings are enabled. + 1 + GTK+ 1.x,GTK+ 2.x + + GTK+ 1.x,GTK+ 2.x + + + + + + + + + + 0 + 0 + __WXGTK20__ + This is enabled if the relevant platform settings are enabled. - 1 - GTK+ 2.x - - GTK+ 2.x - - - - - - - - - 0 - 0 - __WXX11__ - This is enabled if the relevant platform settings are enabled. + 1 + GTK+ 2.x + + GTK+ 2.x + + + + + + + + + + 0 + 0 + __WXX11__ + This is enabled if the relevant platform settings are enabled. - 1 - X11 - - X11 - - - - - - - - - 0 - 0 - __WXMOTIF__ - This is enabled if the relevant platform settings are enabled. + 1 + X11 + + X11 + + + + + + + + + + 0 + 0 + __WXMOTIF__ + This is enabled if the relevant platform settings are enabled. - 1 - Motif - - Motif - - - - - - - - - 0 - 0 - __WXMAC__ - This is enabled if the relevant platform settings are enabled. + 1 + Motif + + Motif + + + + + + + + + + 0 + 0 + __WXMAC__ + This is enabled if the relevant platform settings are enabled. - 1 - Mac Carbon - - Mac Carbon - - - - - - - - - 0 - 0 - __WXCOCOA__ - This is enabled if the relevant platform settings are enabled. + 1 + Mac Carbon + + Mac Carbon + + + + + + + + + + 0 + 0 + __WXCOCOA__ + This is enabled if the relevant platform settings are enabled. - 1 - Mac Cocoa - - Mac Cocoa - - - - - - - - - 0 - 0 - __WXPM__ - This is enabled if the relevant platform settings are enabled. + 1 + Mac Cocoa + + Mac Cocoa + + + + + + + + + + 0 + 0 + __WXPM__ + This is enabled if the relevant platform settings are enabled. - 1 - OS/2 - - OS/2 - - - - - - - - - 0 - 0 - __WXMGL__ - This is enabled if the relevant platform settings are enabled. + 1 + OS/2 + + OS/2 + + + + + + + + + + 0 + 0 + __WXMGL__ + This is enabled if the relevant platform settings are enabled. - 1 - MGL - - MGL - - - - - - - - - 0 - 1 - __WXUNIVERSAL__ - This is enabled if the relevant platform settings are enabled. + 1 + MGL + + MGL + + + + + + + + + + 0 + 0 + __WXUNIVERSAL__ + This is enabled if the relevant platform settings are enabled. - 1 - X11,MGL,Windows/Universal - - X11,MGL,Windows/Universal - - - - - - - - - 0 - 1 - wxUSE_UNIVERSAL - <B>Universal</B><P> + 1 + X11,MGL,Windows/Universal + + X11,MGL,Windows/Universal + + + + + + + + + + 0 + 0 + wxUSE_UNIVERSAL + <B>Universal</B><P> Specifies if wxUniversal should be used instead of native widgets.<P> If the selected port in <B>Platform</B> is a wxUniversal port, this setting is enabled and is not user-editable. Otherwise, it can be enabled or disabled. However this doesn't necessarily mean that the configuration is supported for any given platform. - 0 - __WXUNIVERSAL__ + 0 + __WXUNIVERSAL__ + + __WXUNIVERSAL__ + + + + + --enable-universal + + + + + + + 1 + 0 + Build configuration + <B>Build configuration</B><P> + +Select a high-level build configuration. This will change other settings. This is a way of selecting a configuration that is compatible both with configure and makefiles. + 1 + + + + + + + + + + + + 1 + 1 + Debug ANSI Static + <B>Debug ANSI Static</B><P> + + 1 + - __WXUNIVERSAL__ + - + + Release ANSI Static,Debug Unicode Static,Release Unicode Static,Debug ANSI Shared,Release ANSI Shared,Debug Unicode Shared,Release Unicode Shared,Custom - --enable-universal + + + + + + 1 + 0 + Release ANSI Static + <B>Debug ANSI Static</B><P> + + 1 + + + + + + Debug ANSI Static,Debug Unicode Static,Release Unicode Static,Debug ANSI Shared,Release ANSI Shared,Debug Unicode Shared,Release Unicode Shared,Custom + + + + + + + 1 + 0 + Debug Unicode Static + <B>Debug ANSI Static</B><P> + + 1 + + + + + + Debug ANSI Static,Release ANSI Static,Release Unicode Static,Debug ANSI Shared,Release ANSI Shared,Debug Unicode Shared,Release Unicode Shared,Custom + + + + + + + 1 + 0 + Release Unicode Static + <B>Debug ANSI Static</B><P> + + 1 + + + + + + Debug ANSI Static,Release ANSI Static,Debug Unicode Static,Debug ANSI Shared,Release ANSI Shared,Debug Unicode Shared,Release Unicode Shared,Custom + + + + + + + 1 + 0 + Debug ANSI Shared + <B>Debug ANSI Static</B><P> + + 1 + + + + + + Debug ANSI Static,Release ANSI Static,Debug Unicode Static,Release Unicode Static,Release ANSI Shared,Debug Unicode Shared,Release Unicode Shared,Custom + + + + + + + 1 + 0 + Release ANSI Shared + <B>Debug ANSI Static</B><P> + + 1 + + + + + + Debug ANSI Static,Release ANSI Static,Debug Unicode Static,Release Unicode Static,Debug ANSI Shared,Debug Unicode Shared,Release Unicode Shared,Custom + + + + + + + 1 + 0 + Debug Unicode Shared + + 1 + + + + + + Debug ANSI Static,Release ANSI Static,Debug Unicode Static,Release Unicode Static,Debug ANSI Shared,Release ANSI Shared,Release Unicode Shared,Custom + + + + + + + 1 + 0 + Release Unicode Shared + + 1 + + + + + + Debug ANSI Static,Release ANSI Static,Debug Unicode Static,Release Unicode Static,Debug ANSI Shared,Release ANSI Shared,Debug Unicode Shared,Custom + + + + + + + 1 + 0 + Custom + + 1 + + + + + + Debug ANSI Static,Release ANSI Static,Debug Unicode Static,Release Unicode Static,Debug ANSI Shared,Release ANSI Shared,Debug Unicode Shared,Release Unicode Shared + + @@ -473,6 +677,7 @@ A variety of options, mostly specific to Unix compilers. + @@ -487,11 +692,12 @@ A variety of options, mostly specific to Unix compilers. Use the dmalloc library.<P> See: http://dmalloc.com. - 1 + 0 + --with-dmalloc @@ -499,20 +705,21 @@ See: http://dmalloc.com. - 1 + 0 0 wxUSE_SHARED <B>Shared library</B><P> Use a shared library. 1 - + Debug Unicode Shared,Debug ANSI Shared,Release Unicode Shared,Release ANSI Shared - + Debug Unicode Shared,Debug ANSI Shared,Release Unicode Shared,Release ANSI Shared + Custom - --with-shared + --enable-shared @@ -528,24 +735,26 @@ Set the DT_SONAME field in ELF shared libraries + - --with-soname + --enable-soname - 1 + 0 0 wxUSE_OPTIMISE <B>Optimise</B><P> Create optimised code. 1 - + Release ANSI Static,Release Unicode Static,Release Unicode Shared - + Release ANSI Static,Release Unicode Static,Release Unicode Shared + Custom --enable-optimise @@ -553,38 +762,40 @@ Create optimised code. - 1 - 0 + 0 + 1 wxUSE_DEBUG <B>Use debugging information</B><P> Same as wxUSE_DEBUG_FLAG (set __WXDEBUG__ flag) and wxUSE_DEBUG_INFO (create code with debugging information). 1 - + Debug ANSI Static,Debug Unicode Static,Debug ANSI Shared,Debug Unicode Shared - + Debug ANSI Static,Debug Unicode Static,Debug ANSI Shared,Debug Unicode Shared + Custom - --with-debug + --enable-debug - 1 - 0 + 0 + 1 wxUSE_DEBUG_GDB <B>GDB debugging information</B><P> Create code with extra GDB debugging information. 1 - + wxUSE_DEBUG - + wxUSE_DEBUG + Custom - --with-debug_gdb + --enable-debug_gdb @@ -595,14 +806,15 @@ Create code with extra GDB debugging information. <B>Profiling information</B><P> Create code with profiling information. - 1 + 0 + - --with-profile + --enable-profile @@ -618,9 +830,10 @@ Create code without RTTI (Run-time type) information. + - --with-no_rtti + --enable-no_rtti @@ -631,14 +844,15 @@ Create code without RTTI (Run-time type) information. <B>No exception handling</B><P> Create code without C++ exceptions handling. - 1 + 0 + - --with-no_exceptions + --enable-no_exceptions @@ -646,15 +860,16 @@ Create code without C++ exceptions handling. 1 0 wxUSE_PERMISSIVE - - 1 + <b>Permissive</b><P> + 0 + - --with-permissive + --enable-permissive @@ -665,14 +880,15 @@ Create code without C++ exceptions handling. <B>No dependency information</B><P> Create code without dependency information. - 1 + 0 + - --with-no_deps + --enable-no_deps @@ -685,11 +901,12 @@ Create code without dependency information. Output the rpath flag from wx-config.<P> If you enable this setting, please enter the path into the <b>value</b> property. - 1 + 0 + --enable-rpath @@ -702,15 +919,16 @@ Enter the RPATH directory here."> 1 0 - wxUSE_WXPRINTFV + wxUSE_EXPERIMENTAL_PRINTF <B>Use wxWindows implementation of wxPrintfv</B><P> Check to use the wxWindows implementation. - 1 + 0 + --enable-wxprintfv @@ -728,6 +946,7 @@ Check to use the wxWindows implementation. + @@ -749,6 +968,7 @@ Default is 0. Recommended setting: 0 (in fact the compatibility code is now very + @@ -770,6 +990,7 @@ Recommended setting: 0 (please update your code instead!) + --enable-compat20 @@ -791,6 +1012,7 @@ The default is 0. Recommended setting: 0 (please update your code) + --enable-compat22 @@ -815,6 +1037,7 @@ Recommended setting: 0 (please update your code) + --enable-compat24 @@ -836,6 +1059,7 @@ Default is 0. + __WXMSW__ @@ -857,6 +1081,7 @@ Default is 1. Recommended setting: 0 (the new calculations are more correct!) + __WXMSW__ @@ -885,6 +1110,7 @@ and if __NO_VC_CRTDBG__ is not defined. + @@ -905,6 +1131,7 @@ Default is 0. Recommended setting: 0<P> + --enable-debug_cntxt @@ -926,6 +1153,7 @@ Default is 0. Recommended setting: 1 if you are not using a memory debugging too + --enable-mem_tracing @@ -950,6 +1178,7 @@ Default: 0. Recommended setting: 0 + @@ -971,6 +1200,7 @@ Default: 0. Recommended setting: 0 + @@ -994,6 +1224,7 @@ Default: 1. Recommended setting: 1 if your compiler supports it. + __WXMSW__ --enable-catch_segvs @@ -1011,13 +1242,14 @@ Default: 1. Recommended setting: 1 if your compiler supports it. + - 1 + 0 0 wxUSE_UNICODE <B>Unicode mode</B><P> @@ -1028,11 +1260,12 @@ Unicode is currently only fully supported under Windows NT/2000/XP (Windows 9x d Default: 0. Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP) - 1 + 0 - - + Debug ANSI Static,Release ANSI Static,Debug ANSI Shared,Release ANSI Shared + Debug Unicode Static,Release Unicode Static,Debug Unicode Shared,Release Unicode Shared + Custom --enable-unicode @@ -1064,6 +1297,7 @@ Default: 0. Recommended setting: 0 (1 if you want to deploy Unicode apps on 9x s + __WXMSW__ --enable-mslu @@ -1087,6 +1321,7 @@ Default: 1. Recommended setting: 1 + @@ -1106,6 +1341,7 @@ Default: 1. Recommended setting: 1 + @@ -1126,6 +1362,7 @@ Default: 1. Recommended setting: 1 (always) + --enable-log @@ -1143,6 +1380,7 @@ Default: 1. Recommended setting: 1 (always) + --enable-logwin @@ -1159,6 +1397,7 @@ Default: 1. Recommended setting: 1 (always) + --enable-loggui @@ -1175,6 +1414,7 @@ Default: 1. Recommended setting: 1 (always) + --enable-logdialog @@ -1192,6 +1432,7 @@ Default: 1. Recommended setting: 1 (always) + @@ -1213,6 +1454,7 @@ Default: 1. Recommended setting: 1 + --enable-streams @@ -1230,6 +1472,7 @@ Default: 1 + --enable-zipstream @@ -1252,6 +1495,7 @@ Default: 0 + --enable-std_iostreams @@ -1273,6 +1517,7 @@ Default: 1. Recommended setting: 1. wxFile is highly recommended as it is requir + --enable-file @@ -1293,6 +1538,7 @@ Default: 1. Recommended setting: 1. + --enable-ffile @@ -1314,6 +1560,7 @@ Default: 1. Recommended setting: 1 (but may be safely disabled if you don't use + @@ -1332,6 +1579,7 @@ This class is required by wxTextFile. + --enable-textbuf @@ -1350,6 +1598,7 @@ Requires wxFile and wxTextBuffer, required by wxFileConfig. + --enable-textfile @@ -1370,6 +1619,7 @@ Default: 1. + --enable-config @@ -1394,6 +1644,7 @@ Default: 1. Recommended setting: 1 + @@ -1412,6 +1663,7 @@ Default: 1 + --enable-mimetype @@ -1430,6 +1682,7 @@ Enable virtual file systems (required by wxHTML) + --enable-filesystem @@ -1450,6 +1703,7 @@ Default: 1 + --enable-fs_zip @@ -1468,6 +1722,7 @@ Default: 1 + --enable-fs_inet @@ -1493,6 +1748,7 @@ Default: 1 + --enable-xresources @@ -1516,6 +1772,7 @@ Recommended setting: whatever your compiler likes more + @@ -1534,6 +1791,7 @@ Clear to disable large file support (-D_LARGE_FILES). + --enable-largefile @@ -1551,6 +1809,7 @@ Clear to disable large file support (-D_LARGE_FILES). + @@ -1573,6 +1832,7 @@ Default: 1. Recommended setting: 1 + --enable-longlong @@ -1594,6 +1854,7 @@ Default: 1. Recommended setting: 1 unless you don't like the licence terms (unli + --enable-apple_ieee @@ -1614,6 +1875,7 @@ Default: 1 Recommended setting: 1 if your compiler supports it. + --with-regex @@ -1634,6 +1896,7 @@ Check to use the built-in version of the library, clear to use the wxWindows ver + --enable-geometry @@ -1651,6 +1914,7 @@ Check to use the built-in version of the library, clear to use the wxWindows ver + @@ -1674,6 +1938,7 @@ Requires: wxUSE_LONGLONG. Default: 1 + --enable-datetime @@ -1692,6 +1957,7 @@ Default: 1. + --enable-timer @@ -1710,6 +1976,7 @@ Default: 1. Needed by wxSocket. + --enable-stopwatch @@ -1727,6 +1994,7 @@ Default: 1. Needed by wxSocket. + @@ -1747,6 +2015,7 @@ Default: 1. Recommended setting: 1 + --enable-dialupman @@ -1767,6 +2036,7 @@ Default: 1 + --enable-sockets @@ -1789,6 +2059,7 @@ Default: 1 + --enable-protocol @@ -1806,6 +2077,7 @@ Default: 1 + --enable-protocol-file @@ -1822,6 +2094,7 @@ Default: 1 + --enable-protocol-ftp @@ -1838,6 +2111,7 @@ Default: 1 + --enable-protocol-http @@ -1854,6 +2128,7 @@ Default: 1 + --enable-url @@ -1875,6 +2150,7 @@ Default: 1. Recommended value: 1. + --enable-ipc @@ -1892,6 +2168,7 @@ Default: 1. Recommended value: 1. + @@ -1909,6 +2186,7 @@ On MS Windows, depending on the value of wxUSE_NATIVE_STATUSBAR, either wxStatus + --enable-statusbar @@ -1927,6 +2205,7 @@ Default: 1. Recommended setting: 1 (there is no advantage in using the generic o + @@ -1950,6 +2229,7 @@ Default: 1. Recommended setting: 1 + --enable-toolbar @@ -1965,6 +2245,7 @@ Default: 1. Recommended setting: 1 + --enable-tbarnative @@ -1983,6 +2264,7 @@ This must be enabled if wxUSE_TOOLBAR_NATIVE is disabled. wxUSE_TOOLBAR_NATIVE + --enable-tbarsmpl @@ -2002,6 +2284,7 @@ wxGrid class. + --enable-grid @@ -2018,6 +2301,7 @@ wxGrid class. + --enable-sash @@ -2034,6 +2318,7 @@ wxGrid class. + --enable-splitter @@ -2050,6 +2335,7 @@ wxGrid class. + --with-opengl @@ -2069,6 +2355,7 @@ Enables the popup window class. + --enable-popupwin @@ -2089,6 +2376,7 @@ This is used to implement tooltips on some ports. + --enable-tipwindow @@ -2107,6 +2395,7 @@ Use the wxMiniFrame class. Not implemented on all platforms. + --enable-miniframe @@ -2126,6 +2415,7 @@ Use the wxMiniFrame class. Not implemented on all platforms. + --enable-controls @@ -2141,6 +2431,7 @@ Use the wxMiniFrame class. Not implemented on all platforms. + --enable-button @@ -2157,6 +2448,7 @@ Use the wxMiniFrame class. Not implemented on all platforms. + --enable-bmpbutton @@ -2175,6 +2467,7 @@ A calendar control. + --enable-calendar @@ -2191,6 +2484,7 @@ A calendar control. + --enable-checkbox @@ -2207,6 +2501,7 @@ A calendar control. + --enable-checklst @@ -2224,6 +2519,7 @@ A calendar control. + --enable-choice @@ -2240,6 +2536,7 @@ A calendar control. + --enable-combobox @@ -2256,6 +2553,7 @@ A calendar control. + --enable-gauge @@ -2272,6 +2570,7 @@ A calendar control. + --enable-listbox @@ -2288,6 +2587,7 @@ A calendar control. + --enable-listctrl @@ -2309,6 +2609,7 @@ Default: 1. + --enable-notebook @@ -2325,6 +2626,7 @@ Default: 1. + --enable-radiobox @@ -2341,6 +2643,7 @@ Default: 1. + --enable-radiobtn @@ -2357,6 +2660,7 @@ Default: 1. + --enable-scrollbar @@ -2373,6 +2677,7 @@ Default: 1. + --enable-slider @@ -2389,6 +2694,7 @@ Default: 1. + --enable-spinbtn @@ -2405,6 +2711,7 @@ Default: 1. + --enable-spinctrl @@ -2421,6 +2728,7 @@ Default: 1. + --enable-statbox @@ -2437,6 +2745,7 @@ Default: 1. + --enable-statline @@ -2453,6 +2762,7 @@ Default: 1. + --enable-stattext @@ -2469,6 +2779,7 @@ Default: 1. + --enable-staticbmp @@ -2485,6 +2796,7 @@ Default: 1. + --enable-textctrl @@ -2501,6 +2813,7 @@ Default: 1. + --enable-togglebtn @@ -2517,6 +2830,7 @@ Default: 1. + --enable-treectrl @@ -2537,6 +2851,7 @@ Features relating to images + @@ -2555,6 +2870,7 @@ This class is needed by wxNotebook, wxTreeCtrl and wxListCtrl. + --enable-imaglist @@ -2582,6 +2898,7 @@ Recommended setting: default or 0 for everything for portable programs. + __WXMSW__ --enable-metafile @@ -2599,6 +2916,7 @@ Enhanced metafile (recommended). + __WXMSW__ @@ -2615,6 +2933,7 @@ Enhanced metafile (recommended). + __WXMSW__ @@ -2636,6 +2955,7 @@ Default: 1. Recommended value: 1. + --enable-dragimage @@ -2658,6 +2978,7 @@ Default: 1 + --enable-image @@ -2676,6 +2997,7 @@ Set to 1 for PNG format support (requires libpng). Also requires wxUSE_ZLIB. + --with-libpng @@ -2698,6 +3020,7 @@ Set to 1 for JPEG format support (requires libjpeg). + --with-libjpeg @@ -2721,6 +3044,7 @@ Set to 1 for TIFF format support (requires libtiff). + --with-libtiff @@ -2744,6 +3068,7 @@ Set to 1 for read-only GIF format support. + --enable-gif @@ -2763,6 +3088,7 @@ Set to 1 for PNM format support. + --enable-pnm @@ -2782,6 +3108,7 @@ Set to 1 for PCX format support. + --enable-pcx @@ -2801,6 +3128,7 @@ Set to 1 for PCX format support. + --enable-iff @@ -2820,6 +3148,7 @@ Set to 1 for XPM format support. + --enable-xpm @@ -2838,6 +3167,7 @@ Set to 1 for MS Icons and Cursors format support. + __WXMSW__ --enable-icocur @@ -2858,6 +3188,7 @@ Set to 1 to enable the wxPalette class. + --enable-palette @@ -2878,6 +3209,7 @@ wxColourDialog and wxDirDialog. + @@ -2898,6 +3230,7 @@ Default: 0. Recommended setting: 0 + @@ -2921,6 +3254,7 @@ Default: 1. Recommended setting: 1 (unless it really doesn't work) + --enable-commondlg @@ -2940,6 +3274,7 @@ wxBusyInfo displays window with a message when the app is busy. Works in the sam + --enable-busyinfo @@ -2959,6 +3294,7 @@ wxBusyInfo displays window with a message when the app is busy. Works in the sam + --enable-choicedlg @@ -2980,6 +3316,7 @@ Default: 1. Recommended setting: 1 + --enable-coldlg @@ -3001,6 +3338,7 @@ Default: 1. Recommended setting: 1. + --enable-dirdlg @@ -3022,6 +3360,7 @@ Default: 1. Recommended setting: 1 (used in many places in the library itself) + --enable-filedlg @@ -3041,6 +3380,7 @@ Default: 1. Recommended setting: 1 (used in many places in the library itself) + --enable-finddlg @@ -3062,6 +3402,7 @@ Default: 1. Recommended setting: 1 (used in the library itself) + --enable-fontdlg @@ -3081,6 +3422,7 @@ Default: 1. Recommended setting: 1 (used in the library itself) + @@ -3100,6 +3442,7 @@ Progress dialog class for lengthy operations + --enable-msgdlg @@ -3120,6 +3463,7 @@ Support for startup tips. + --enable-tipdlg @@ -3139,6 +3483,7 @@ Text entry dialog and wxGetTextFromUser function. + --enable-textdlg @@ -3157,6 +3502,7 @@ Number entry dialog. This option is not currently used. + --enable-numberdlg @@ -3175,6 +3521,7 @@ A splash window. + --enable-splash @@ -3193,6 +3540,7 @@ The wizard dialog. + --enable-wizarddlg @@ -3212,6 +3560,7 @@ This category consists of large components, such as the printing and document/vi + @@ -3227,6 +3576,7 @@ This category consists of large components, such as the printing and document/vi + --enable-docview @@ -3243,6 +3593,7 @@ This category consists of large components, such as the printing and document/vi + --enable-mdi @@ -3262,6 +3613,7 @@ Your application can still print without this, but it is highly recommended that + --enable-printarch @@ -3280,6 +3632,7 @@ The wxHTML subsystem consists of wxHtmlWindow, wxHtmlHelpController, wxHtmlEasyP + --enable-html @@ -3297,6 +3650,7 @@ The wxHTML subsystem consists of wxHtmlWindow, wxHtmlHelpController, wxHtmlEasyP + @@ -3315,6 +3669,7 @@ Default: 1 Recommended setting: 1 (can be set to 0 if you don't use the command + --enable-cmdline @@ -3339,6 +3694,7 @@ Default: 1. Recommended setting: 0 unless you do plan to develop MT applications + --enable-threads @@ -3358,6 +3714,7 @@ _() macro, wxLocale class. Requires wxTextFile. + --enable-intl @@ -3379,6 +3736,7 @@ Default: 1. Required by wxUSE_DIALUP_MANAGER. + --enable-dynlib @@ -3397,6 +3755,7 @@ Experimental, don't use for now + --enable-dynamicloader @@ -3415,6 +3774,7 @@ Default: 1 + --enable-fontmap @@ -3433,6 +3793,7 @@ A class for setting miscellaneous options that do not fit in with the wxWindows + --enable-sysoptions @@ -3451,6 +3812,7 @@ Simple .wav class for short sounds. + --enable-wave @@ -3467,6 +3829,7 @@ Simple .wav class for short sounds. + --enable-accel @@ -3484,6 +3847,7 @@ under Windows). + --enable-caret @@ -3507,6 +3871,7 @@ Recommended setting: 1 if you need it, can be safely set to 0 otherwise + --enable-display @@ -3525,6 +3890,7 @@ wxMenu, wxMenuBar. Should not be disabled. + --enable-menus @@ -3541,6 +3907,7 @@ wxMenu, wxMenuBar. Should not be disabled. + --enable-validators @@ -3559,11 +3926,12 @@ Requires wxUSE_OLE.<P> Default: 0. Recommended setting: 0 - 1 + 0 + --enable-accessibility @@ -3585,6 +3953,7 @@ Default: 1. Recommended value: 1 + --enable-snglinst @@ -3605,6 +3974,7 @@ Default: 1 + --enable-constraints @@ -3625,6 +3995,7 @@ Default: 1 + --enable-splines @@ -3645,6 +4016,7 @@ NOW MANDATORY: don't change. + @@ -3663,6 +4035,7 @@ Default: 1 + --with-zlib @@ -3686,6 +4059,7 @@ Data transfer encompasses clipboard and drag-and-drop operations. + @@ -3705,6 +4079,7 @@ Default: 1. Recommended value: 1 + --enable-clipboard @@ -3726,6 +4101,7 @@ Default: 1. Recommended value: 1 + --enable-dataobj @@ -3747,6 +4123,7 @@ Default: 1. Recommended value: 1 + --enable-dnd @@ -3764,6 +4141,7 @@ Default: 1. Recommended value: 1 + @@ -3783,6 +4161,7 @@ Default: 1. + --enable-help @@ -3802,6 +4181,7 @@ Default: 1. + __WXMSW__ --enable-mshtmlhelp @@ -3822,6 +4202,7 @@ Default: 1 + --enable-htmlhelp @@ -3839,6 +4220,7 @@ Default: 1 + --enable-tooltips @@ -3858,6 +4240,7 @@ Settings for various input devices. + @@ -3877,6 +4260,7 @@ Default: 1 + __WXMSW__ @@ -3897,6 +4281,7 @@ Default: 1 + --enable-joystick @@ -3916,6 +4301,7 @@ See also: <font color="#0000FF">Large components</font> for wxUSE_PR + @@ -3933,6 +4319,7 @@ Enables PostScript printing support. + --enable-postscript @@ -3951,6 +4338,7 @@ Set to 1 to use font metric files in GetTextExtent. + @@ -3969,6 +4357,7 @@ Enables PostScript on MS Windows. + @@ -3987,6 +4376,7 @@ Enables PostScript on MS Windows. + @@ -4002,11 +4392,12 @@ Enables wxDb and related classes for accessing ODBC on all supported platforms.<P> Default: 0 - 1 + 0 wxUSE_UNICODE + --with-odbc @@ -4028,6 +4419,7 @@ Default: 1 + @@ -4045,11 +4437,12 @@ member variables. With a setting of 1, full backward compatability with the 2.0 Default: 0 - 1 + 0 + @@ -4068,6 +4461,7 @@ Default: 0 + @@ -4083,6 +4477,7 @@ Default: 0 + @@ -4103,6 +4498,7 @@ Default: 1. Recommended setting: 1, set to 0 for a small library size reduction. + __WXMSW__ @@ -4124,6 +4520,7 @@ Default: 1 for compilers which support it Recommended setting: 1, only set it t + __WXMSW__ @@ -4144,6 +4541,7 @@ Default: 1 + __WXMSW__ @@ -4165,6 +4563,7 @@ Default: 0. Recommended setting: 0 unless you really have to use MFC + __WXMSW__ @@ -4186,6 +4585,7 @@ Default: 1. Recommended setting: 1 + __WXMSW__ --enable-ole @@ -4205,6 +4605,7 @@ Set to 1 to compile MS Windows XP theme engine support. + __WXMSW__ @@ -4225,6 +4626,7 @@ Set to 1 to auto-adapt to MS Windows XP themes where possible + __WXMSW__ @@ -4245,6 +4647,7 @@ Default: 1 + __WXMSW__ @@ -4265,6 +4668,7 @@ Default: 0 + __WXMSW__ @@ -4282,6 +4686,7 @@ Default: 0 + @@ -4299,6 +4704,7 @@ Try to compile and run a test GTK program. + __WXGTK__ --enable-gtktest @@ -4317,6 +4723,7 @@ Prefix where GTK+ is installed (optional). Type the prefix into the <b>val + __WXGTK__ --with-gtk-prefix @@ -4338,6 +4745,7 @@ Exec prefix where GTK+ is installed (optional). Type the prefix into the <b&g + __WXGTK__ --with-gtk-exec-prefix @@ -4359,6 +4767,7 @@ Search for libiconv in DIR/include and DIR/lib. Type the prefix into the <b&g + --with-libiconv-prefix @@ -4370,18 +4779,19 @@ Type the prefix into the value property."> 0 - 1 + 0 wxUSE_X <B>Use X</B><P> Use the X window system. 1 - + __WXGTK__,__WXMOTIF__,__WXX11__ - + __WXGTK__,__WXMOTIF__,__WXX11__ + - __WXGTK__ + --with-x diff --git a/utils/configtool/docs/manual/configtool.tex b/utils/configtool/docs/manual/configtool.tex index dc291680b9..b0cf64994c 100644 --- a/utils/configtool/docs/manual/configtool.tex +++ b/utils/configtool/docs/manual/configtool.tex @@ -386,6 +386,8 @@ with files. \twocolitem{{\bf Save Setup.h...} (Ctrl+H)}{Saves the generated setup.h file in the specified location.} \twocolitem{{\bf Save Configure Script...} (Ctrl+G)}{Saves the generated script containing a configure command in the specified location.} \twocolitem{\hrule}{\htmlonly{\hrule}} +\twocolitem{{\bf Go} (F5)}{Saves the generated setup.h file or configurewx.sh script (according to the default setting) in the last-saved.} +\twocolitem{\hrule}{\htmlonly{\hrule}} \twocolitem{{\bf Exit} (Alt+F4)}{Exits the program.} \end{twocollist} @@ -494,6 +496,8 @@ commands. \twocolitem{\image{}{cut.png}{\bf Cut}}{Cuts the selected option and copies it to the internal clipboard..} \twocolitem{\image{}{paste.png}{\bf Paste}}{Pastes the option from the clipboard to the configuration tree.} \twocolitem{\hrule}{\htmlonly{\hrule}} +\twocolitem{\image{}{go.png}{\bf Go}}{Saves the generated setup.h file or configurewx.sh script (according to the default setting) in the last-saved.} +\twocolitem{\hrule}{\htmlonly{\hrule}} \twocolitem{\image{}{help.png}{\bf Help}}{Shows the wxWindows manual topic for the \twocolitem{\image{}{helpcs.png}{\bf Context Help}}{Shows a context-sensitive help cursor; click on a window to show brief help about that window.} @@ -605,6 +609,11 @@ or group. For each radio option, all other mutually exclusive options need to be listed. See the {\bf Target} group for an example of this. +The results of these dependencies can be overridden by +indeterminate-if, which is done last of all and can +make the option user-selectable when otherwise it +would be constrained to be enabled or disabled. + \section{How \ctshortname generates the configure commands} If the {\bf configure} property isn't empty, @@ -657,8 +666,8 @@ if the option is constrained to always be disabled or enabled in the current context, then it is greyed out (deactivated) to prevent the user from changing the state. -There are four kinds of dependencies: requires, precludes, -enabled-if, and enabled-if-not. Each one represents a +There are five kinds of dependencies: requires, precludes, +enabled-if, enabled-if-not, and indeterminate-if. Each one represents a relationship between the current option (a) and one or more named options (b). For the sake of argument we will consider only one other option, but multiple @@ -715,6 +724,24 @@ For example, wxUSE_TOOLBAR_SIMPLE enabled-if-not wxUSE_TOOLBAR_NATIVE. 1 1 \end{verbatim} +5. a {\bf indeterminate-if} b + +For example, wxUSE_UNICODE indeterminate-if Custom. + +\begin{verbatim} + a b + + ? 1 +\end{verbatim} + +This overrides all the other dependencies, and allows you +to make an option user-choosable in some circumstances, +when otherwise it would be constrained to be either enabled or +disabled. You may need to use an intermediate option to +make sensible use of this: for example make the intermediate +option dependent on a number of factors, such as Unicode not being +available on some platforms. + \section{How to specify platform-specific dependencies}\label{platformdependencies} You can associate one or more options as part of the diff --git a/utils/configtool/docs/manual/go.png b/utils/configtool/docs/manual/go.png new file mode 100644 index 0000000000..18ca2872d6 Binary files /dev/null and b/utils/configtool/docs/manual/go.png differ diff --git a/utils/configtool/src/appsettings.cpp b/utils/configtool/src/appsettings.cpp index 4693cc4d27..1f0bf6cf64 100644 --- a/utils/configtool/src/appsettings.cpp +++ b/utils/configtool/src/appsettings.cpp @@ -75,6 +75,7 @@ ctSettings::ctSettings() m_frameworkDir = wxEmptyString; m_matchWholeWord = FALSE; m_matchCase = FALSE; + m_defaultFileKind = wxT("Setup file"); } // Copy constructor @@ -95,7 +96,7 @@ void ctSettings::operator = (const ctSettings& settings) void ctSettings::Copy (const ctSettings& settings) { - m_currentDocumentDir = settings.m_currentDocumentDir; + m_lastSetupSaveDir = settings.m_lastSetupSaveDir; m_lastDocument = settings.m_lastDocument; m_showToolBar = settings.m_showToolBar; m_frameSize = settings.m_frameSize; @@ -118,12 +119,13 @@ void ctSettings::Copy (const ctSettings& settings) m_frameworkDir = settings.m_frameworkDir; m_matchWholeWord = settings.m_matchWholeWord; m_matchCase = settings.m_matchCase; + m_defaultFileKind = settings.m_defaultFileKind ; } // Do some initialisation within stApp::OnInit bool ctSettings::Init() { - m_currentDocumentDir = wxEmptyString; + m_lastSetupSaveDir = wxEmptyString; if (m_userName.IsEmpty()) m_userName = wxGetUserName(); @@ -164,7 +166,7 @@ bool ctSettings::LoadConfig() wxConfig config(wxGetApp().GetSettings().GetAppName(), wxT("wxWindows")); config.Read(wxT("Files/LastFile"), & m_lastFilename); - config.Read(wxT("Files/DocumentDir"), & m_currentDocumentDir); + config.Read(wxT("Files/LastSetupSaveDir"), & m_lastSetupSaveDir); config.Read(wxT("Files/ExportDir"), & m_exportDir); config.Read(wxT("Files/FrameworkDir"), & m_frameworkDir); config.Read(wxT("Files/UseEnvironmentVariable"), (bool*) & m_useEnvironmentVariable); @@ -179,6 +181,7 @@ bool ctSettings::LoadConfig() config.Read(wxT("Misc/ShowTrayIcon"), (bool*) & m_showTrayIcon); config.Read(wxT("Misc/MatchWholeWord"), (bool*) & m_matchWholeWord); config.Read(wxT("Misc/MatchCase"), (bool*) & m_matchCase); + config.Read(wxT("Misc/BuildMode"), & m_defaultFileKind ); m_noUses ++; @@ -224,7 +227,7 @@ bool ctSettings::SaveConfig() wxConfig config(wxGetApp().GetSettings().GetAppName(), wxT("wxWindows")); config.Write(wxT("Files/LastFile"), m_lastFilename); - config.Write(wxT("Files/DocumentDir"), m_currentDocumentDir); + config.Write(wxT("Files/LastSetupSaveDir"), m_lastSetupSaveDir); config.Write(wxT("Files/ExportDir"), m_exportDir); config.Write(wxT("Files/FrameworkDir"), m_frameworkDir); config.Write(wxT("Files/UseEnvironmentVariable"), m_useEnvironmentVariable); @@ -239,6 +242,7 @@ bool ctSettings::SaveConfig() config.Write(wxT("Misc/ShowTrayIcon"), (long) m_showTrayIcon); config.Write(wxT("Misc/MatchWholeWord"), (long) m_matchWholeWord); config.Write(wxT("Misc/MatchCase"), (long) m_matchCase); + config.Write(wxT("Misc/BuildMode"), m_defaultFileKind); config.Write(wxT("Windows/ShowToolBar"), m_showToolBar); config.Write(wxT("Windows/WindowX"), (long) m_frameSize.x); diff --git a/utils/configtool/src/appsettings.h b/utils/configtool/src/appsettings.h index 037efc7b7d..c702d663a1 100644 --- a/utils/configtool/src/appsettings.h +++ b/utils/configtool/src/appsettings.h @@ -87,7 +87,7 @@ public: bool GetFirstTimeRun() const { return m_firstTimeRun; } public: - wxString m_currentDocumentDir; // Not yet used + wxString m_lastSetupSaveDir; // Not yet used wxString m_lastDocument; // Last document bool m_showToolBar; bool m_smallToolbar; @@ -118,6 +118,9 @@ public: bool m_showTrayIcon; bool m_trayIconIsShown; + // "Setup file" or "Configure script" + wxString m_defaultFileKind; + // Search settings bool m_matchCase; bool m_matchWholeWord; diff --git a/utils/configtool/src/bitmaps/go.xpm b/utils/configtool/src/bitmaps/go.xpm new file mode 100644 index 0000000000..c19422ae44 --- /dev/null +++ b/utils/configtool/src/bitmaps/go.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char *go_xpm[] = { +"16 15 2 1", +" c None", +". c #000000", +" ", +" .. ", +" ... ", +" .... ", +" ..... ", +" ...... ", +" ....... ", +" ........ ", +" ....... ", +" ...... ", +" ..... ", +" .... ", +" ... ", +" .. ", +" "}; diff --git a/utils/configtool/src/configitem.cpp b/utils/configtool/src/configitem.cpp index ca5c268270..01e8c4d1cb 100644 --- a/utils/configtool/src/configitem.cpp +++ b/utils/configtool/src/configitem.cpp @@ -220,6 +220,12 @@ void ctConfigItem::InitProperties() wxVariant(wxT(""), wxT("enabled-if-not")), wxT("configitems"))); + m_properties.AddProperty( + new ctProperty( + wxT("Indeterminate-if

When any of these settings are 1, this setting becomes active and indeterminate. Taking wxUSE_UNICODE as an example:

If Custom is 1, wxUSE_UNICODE is indeterminate."), + wxVariant(wxT(""), wxT("indeterminate-if")), + wxT("configitems"))); + m_properties.AddProperty( new ctProperty( wxT("Exclusivity

The settings that are mutually exclusive with this one."), @@ -266,6 +272,7 @@ void ctConfigItem::ApplyProperty(ctProperty* prop, const wxVariant& oldValue) name == wxT("precludes") || name == wxT("enabled-if") || name == wxT("enabled-if-not") || + name == wxT("indeterminate-if") || name == wxT("context")) { doc->RefreshDependencies(); @@ -481,11 +488,14 @@ bool ctConfigItem::IsInActiveContext() /// then this one is disabled (and inactive). void ctConfigItem::EvaluateDependencies() { + // For debugging purposes + wxString name = GetName(); wxList items; wxString requires = GetPropertyString(wxT("requires")); wxString precludes = GetPropertyString(wxT("precludes")); wxString enabledIf = GetPropertyString(wxT("enabled-if")); wxString enabledIfNot = GetPropertyString(wxT("enabled-if-not")); + wxString indeterminateIf = GetPropertyString(wxT("indeterminate-if")); bool active = TRUE; bool enabled = IsEnabled(); @@ -581,6 +591,7 @@ void ctConfigItem::EvaluateDependencies() for ( wxNode* node = items.GetFirst(); node; node = node->GetNext() ) { ctConfigItem* otherItem = (ctConfigItem*) node->GetData(); + wxString otherName = otherItem->GetName(); if (inActiveContext && otherItem->IsInActiveContext()) { @@ -608,6 +619,44 @@ void ctConfigItem::EvaluateDependencies() { StringToItems(GetDocument()->GetTopItem(), precludes, items); int enabledCount = 0; + // int disabledCount = 0; + int inContextCount = 0; + + for ( wxNode* node = items.GetFirst(); node; node = node->GetNext() ) + { + ctConfigItem* otherItem = (ctConfigItem*) node->GetData(); + + if (inActiveContext && otherItem->IsInActiveContext()) + { + // Make this disabled and inactive, _unless_ it's + // already been explicitly enabled in the previous + // requires evaluation (it really _has_ to be on) +// if (!otherItem->IsEnabled()) + if (otherItem->IsEnabled()) + { + enabledCount ++; + // disabledCount ++; + } + inContextCount ++; + } + } + // Disable if there were no related items that were disabled + if (inContextCount > 0 && (enabledCount > 0) && !explicitlyEnabled) +// if (inContextCount > 0 && (disabledCount > 0) && !explicitlyEnabled) + { + enabled = FALSE; + active = FALSE; + explicitlyDisabled = TRUE; + } + } + + // Indeterminate overrides the others, and + // makes the item active. + items.Clear(); + if (!indeterminateIf.IsEmpty()) + { + StringToItems(GetDocument()->GetTopItem(), indeterminateIf, items); + int enabledCount = 0; int inContextCount = 0; for ( wxNode* node = items.GetFirst(); node; node = node->GetNext() ) @@ -616,20 +665,18 @@ void ctConfigItem::EvaluateDependencies() if (inActiveContext && otherItem->IsInActiveContext()) { - // Make this enabled and inactive, _unless_ it's - // already been explicitly disabled in the previous - // requires evaluation (it really _has_ to be off) if (otherItem->IsEnabled()) { enabledCount ++; } + inContextCount ++; } } - // Disable if there were no related items that were disabled - if (inContextCount > 0 && (enabledCount == inContextCount) && !explicitlyEnabled) + if (inContextCount > 0 && enabledCount > 0) { - enabled = FALSE; - active = FALSE; + active = TRUE; + explicitlyEnabled = FALSE; + explicitlyDisabled = FALSE; } } @@ -637,6 +684,13 @@ void ctConfigItem::EvaluateDependencies() // context is active. If not, make this inactive. if (!IsInActiveContext()) active = FALSE; + else + { + // If we didn't explicitly enable or disable it, + // then we should make it active. + if (!explicitlyEnabled && !explicitlyDisabled) + active = TRUE; + } SetActive(active); diff --git a/utils/configtool/src/configtooldoc.cpp b/utils/configtool/src/configtooldoc.cpp index 3a50aadd83..660af43535 100644 --- a/utils/configtool/src/configtooldoc.cpp +++ b/utils/configtool/src/configtooldoc.cpp @@ -575,6 +575,7 @@ void ctConfigToolDoc::RefreshDependencies(ctConfigItem* item) wxString precludes = item->GetPropertyString(wxT("precludes")); wxString enabledIf = item->GetPropertyString(wxT("enabled-if")); wxString enabledIfNot = item->GetPropertyString(wxT("enabled-if-not")); + wxString indeterminateIf = item->GetPropertyString(wxT("indeterminate-if")); wxString context = item->GetPropertyString(wxT("context")); if (!requires.IsEmpty()) @@ -589,6 +590,9 @@ void ctConfigToolDoc::RefreshDependencies(ctConfigItem* item) if (!enabledIf.IsEmpty()) item->StringToArray(enabledIf, requiresArr); + if (!indeterminateIf.IsEmpty()) + item->StringToArray(indeterminateIf, requiresArr); + // Add the parent to the list of dependencies, if the // parent is a check or radio group. ctConfigItem* parent = item->GetParent(); diff --git a/utils/configtool/src/configtoolview.cpp b/utils/configtool/src/configtoolview.cpp index 5f62dcb51a..138fc3eac5 100644 --- a/utils/configtool/src/configtoolview.cpp +++ b/utils/configtool/src/configtoolview.cpp @@ -91,6 +91,9 @@ BEGIN_EVENT_TABLE(ctConfigToolView, wxView) EVT_MENU(wxID_FIND, ctConfigToolView::OnFind) EVT_UPDATE_UI(wxID_FIND, ctConfigToolView::OnUpdateFind) + EVT_MENU(ctID_GO, ctConfigToolView::OnGo) + EVT_UPDATE_UI(ctID_GO, ctConfigToolView::OnUpdateGo) + END_EVENT_TABLE() ctConfigToolView::ctConfigToolView() @@ -352,11 +355,17 @@ void ctConfigToolView::OnIconLeftDown(ctConfigTreeCtrl* treeControl, ctConfigIte SyncItem(treeControl, item); wxList considered; - item->PropagateChange(considered); if ((item->GetType() == ctTypeBoolRadio || item->GetType() == ctTypeRadioGroup) && item->IsEnabled()) { item->PropagateRadioButton(considered); } + item->PropagateChange(considered); + + // Update the setup.h and configure text + if (wxGetApp().GetMainFrame()->GetMainNotebook()->GetSelection() > 0) + { + RegenerateSetup(); + } } } @@ -905,7 +914,9 @@ void ctConfigToolView::OnSaveSetupFile(wxCommandEvent& event) wxString setupStr = doc->GenerateSetup(); wxString filename = _T("setup.h"); - wxString path = doc->GetFrameworkDir(FALSE); + wxString path = wxGetApp().GetSettings().m_lastSetupSaveDir; + if (path.IsEmpty()) + path = doc->GetFrameworkDir(FALSE); wxString wildcard = _T("Header files (*.h)|*.h|All files (*.*)|*.*"); wxFileDialog dialog(wxTheApp->GetTopWindow(), @@ -916,8 +927,7 @@ void ctConfigToolView::OnSaveSetupFile(wxCommandEvent& event) if (dialog.ShowModal() == wxID_OK) { wxString fullPath = dialog.GetPath(); - - // TODO: save last saved path in settings. + wxGetApp().GetSettings().m_lastSetupSaveDir = wxPathOnly(fullPath); wxFileOutputStream stream(fullPath); if (!stream.Ok()) @@ -936,7 +946,9 @@ void ctConfigToolView::OnSaveConfigureCommand(wxCommandEvent& event) wxString configureStr = doc->GenerateConfigureCommand(); wxString filename = _T("configurewx.sh"); - wxString path = doc->GetFrameworkDir(FALSE); + wxString path = wxGetApp().GetSettings().m_lastSetupSaveDir; + if (path.IsEmpty()) + path = doc->GetFrameworkDir(FALSE); wxString wildcard = _T("Shell script files (*.sh)|*.sh|All files (*.*)|*.*"); wxFileDialog dialog(wxTheApp->GetTopWindow(), @@ -947,8 +959,7 @@ void ctConfigToolView::OnSaveConfigureCommand(wxCommandEvent& event) if (dialog.ShowModal() == wxID_OK) { wxString fullPath = dialog.GetPath(); - - // TODO: save last saved path in settings. + wxGetApp().GetSettings().m_lastSetupSaveDir = wxPathOnly(fullPath); wxFileOutputStream stream(fullPath); if (!stream.Ok()) @@ -1003,6 +1014,75 @@ void ctConfigToolView::OnUpdateFind(wxUpdateUIEvent& event) event.Enable(TRUE); } +/// Save default file type +void ctConfigToolView::OnGo(wxCommandEvent& event) +{ + ctConfigToolDoc* doc = (ctConfigToolDoc*) GetDocument(); + wxString path = wxGetApp().GetSettings().m_lastSetupSaveDir; + if (!path.IsEmpty()) + { + if (wxGetApp().GetSettings().m_defaultFileKind == wxT("Setup file")) + { + // setup.h + wxString setupStr = doc->GenerateSetup(); + + wxString fullPath = path + wxFILE_SEP_PATH + wxT("setup.h"); + if (wxFileExists(fullPath)) + { + wxString msg; + msg.Printf(wxT("Overwrite existing file %s?"), (const wxChar*) fullPath); + int ans = wxMessageBox(msg, _("Save Setup File"), wxICON_QUESTION|wxYES_NO|wxCANCEL); + if (ans == wxCANCEL) + return; + if (ans == wxNO) + return; + } + wxFileOutputStream stream(fullPath); + if (!stream.Ok()) + { + wxMessageBox(_("Sorry, could not save this file."), _("Save Setup File"), wxICON_EXCLAMATION|wxOK); + return; + } + stream << setupStr; + } + else if (wxGetApp().GetSettings().m_defaultFileKind == wxT("Configure script")) + { + // configurewx.sh + wxString configureStr = doc->GenerateConfigureCommand(); + + wxString fullPath = path + wxFILE_SEP_PATH + wxT("configurewx.sh"); + if (wxFileExists(fullPath)) + { + wxString msg; + msg.Printf(wxT("Overwrite existing file %s?"), (const wxChar*) fullPath); + int ans = wxMessageBox(msg, _("Save Configure Script"), wxICON_QUESTION|wxYES_NO|wxCANCEL); + if (ans == wxCANCEL) + return; + if (ans == wxNO) + return; + } + wxFileOutputStream stream(fullPath); + if (!stream.Ok()) + { + wxMessageBox(_("Sorry, could not save this file."), _("Save Configure Script"), wxICON_EXCLAMATION|wxOK); + return; + } + stream << configureStr; + } + else + { + wxMessageBox(wxT("Unrecognised default file type.")); + } + } +} + +/// Update +void ctConfigToolView::OnUpdateGo(wxUpdateUIEvent& event) +{ + wxString path = wxGetApp().GetSettings().m_lastSetupSaveDir; + event.Enable(!path.IsEmpty()); +} + //---------------------------------------------------------------------------- // ctFindReplaceDialog //---------------------------------------------------------------------------- diff --git a/utils/configtool/src/configtoolview.h b/utils/configtool/src/configtoolview.h index 02ea972f5b..85002eedf6 100644 --- a/utils/configtool/src/configtoolview.h +++ b/utils/configtool/src/configtoolview.h @@ -199,6 +199,14 @@ public: /// Update find text void OnUpdateFind(wxUpdateUIEvent& event); + // Go (now: save setup.h or configurewx.sh. later: invoke configure/make) + + /// Save default file type + void OnGo(wxCommandEvent& event); + + /// Update + void OnUpdateGo(wxUpdateUIEvent& event); + DECLARE_EVENT_TABLE() protected: diff --git a/utils/configtool/src/mainframe.cpp b/utils/configtool/src/mainframe.cpp index 591e2a0026..bfd09b31e7 100644 --- a/utils/configtool/src/mainframe.cpp +++ b/utils/configtool/src/mainframe.cpp @@ -46,6 +46,7 @@ #include "bitmaps/undo.xpm" #include "bitmaps/redo.xpm" #include "bitmaps/helpcs.xpm" +#include "bitmaps/go.xpm" IMPLEMENT_CLASS(ctMainFrame, wxDocParentFrame) @@ -82,6 +83,8 @@ BEGIN_EVENT_TABLE(ctMainFrame, wxDocParentFrame) EVT_UPDATE_UI(ctID_SAVE_CONFIGURE_COMMAND, ctMainFrame::OnUpdateDisable) EVT_UPDATE_UI(wxID_FIND, ctMainFrame::OnUpdateDisable) + + EVT_UPDATE_UI(ctID_GO, ctMainFrame::OnUpdateDisable) END_EVENT_TABLE() // Define my frame constructor @@ -222,7 +225,7 @@ void ctMainFrame::InitToolBar(wxToolBar* toolBar) toolBarBitmaps[3] = wxBitmap(copy_xpm); toolBarBitmaps[4] = wxBitmap(cut_xpm); toolBarBitmaps[5] = wxBitmap(paste_xpm); -// toolBarBitmaps[6] = wxBitmap(print_xpm); + toolBarBitmaps[6] = wxBitmap(go_xpm); toolBarBitmaps[7] = wxBitmap(help_xpm); toolBarBitmaps[10] = wxBitmap(undo_xpm); toolBarBitmaps[11] = wxBitmap(redo_xpm); @@ -241,6 +244,8 @@ void ctMainFrame::InitToolBar(wxToolBar* toolBar) toolBar->AddTool(wxID_UNDO, toolBarBitmaps[10], wxNullBitmap, FALSE, -1, -1, (wxObject *) NULL, wxT("Undo")); toolBar->AddTool(wxID_REDO, toolBarBitmaps[11], wxNullBitmap, FALSE, -1, -1, (wxObject *) NULL, wxT("Redo")); toolBar->AddSeparator(); + toolBar->AddTool(ctID_GO, toolBarBitmaps[6], wxNullBitmap, FALSE, -1, -1, (wxObject *) NULL, wxT("Save setup.h or configurewx.sh")); + toolBar->AddSeparator(); toolBar->AddTool(ctID_ITEM_HELP, toolBarBitmaps[12], wxNullBitmap, FALSE, -1, -1, (wxObject *) NULL, wxT("Show help for this option")); toolBar->AddTool(wxID_HELP_CONTEXT, toolBarBitmaps[13], wxNullBitmap, FALSE, -1, -1, (wxObject *) NULL, wxT("Show help on the clicked item")); @@ -266,6 +271,8 @@ wxMenuBar* ctMainFrame::CreateMenuBar() fileMenu->Append(ctID_SAVE_SETUP_FILE, wxT("Save Setup.&h...\tCtrl+H"), wxT("Save the setup.h file")); fileMenu->Append(ctID_SAVE_CONFIGURE_COMMAND, wxT("Save Configure Script...\tCtrl+G"), wxT("Save the configure script file")); fileMenu->AppendSeparator(); + fileMenu->Append(ctID_GO, wxT("&Go\tF5"), wxT("Quick-save the setup.h or configure.sh file")); + fileMenu->AppendSeparator(); fileMenu->Append(wxID_EXIT, wxT("E&xit\tAlt+F4"), wxT("Exit the application")); wxGetApp().GetDocManager()->FileHistoryUseMenu(fileMenu); diff --git a/utils/configtool/src/settingsdialog.cpp b/utils/configtool/src/settingsdialog.cpp index 15b5833054..fa40c655af 100644 --- a/utils/configtool/src/settingsdialog.cpp +++ b/utils/configtool/src/settingsdialog.cpp @@ -82,28 +82,28 @@ void ctSettingsDialog::CreateControls() wxNotebookSizer* item3Sizer = new wxNotebookSizer(item3); ctGeneralSettingsDialog* item4 = new ctGeneralSettingsDialog(item3, ID_GENERAL_SETTINGS_DIALOG, wxDefaultPosition, wxSize(100, 80), 0); item3->AddPage(item4, _("General")); - ctLocationSettingsDialog* item9 = new ctLocationSettingsDialog(item3, ID_LOCATION_SETTINGS_DIALOG, wxDefaultPosition, wxSize(100, 80), 0); - item3->AddPage(item9, _("Locations")); + ctLocationSettingsDialog* item11 = new ctLocationSettingsDialog(item3, ID_LOCATION_SETTINGS_DIALOG, wxDefaultPosition, wxSize(100, 80), 0); + item3->AddPage(item11, _("Locations")); item2->Add(item3Sizer, 0, wxGROW|wxALL, 5); - wxBoxSizer* item19 = new wxBoxSizer(wxHORIZONTAL); - item2->Add(item19, 0, wxGROW|wxALL, 5); + wxBoxSizer* item21 = new wxBoxSizer(wxHORIZONTAL); + item2->Add(item21, 0, wxGROW|wxALL, 5); - item19->Add(5, 5, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5); + item21->Add(5, 5, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxButton* item21 = new wxButton(item1, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0); - item21->SetDefault(); - item19->Add(item21, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); + wxButton* item23 = new wxButton(item1, wxID_OK, _("&OK"), wxDefaultPosition, wxDefaultSize, 0); + item23->SetDefault(); + item21->Add(item23, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxButton* item22 = new wxButton(item1, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0); - item19->Add(item22, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); + wxButton* item24 = new wxButton(item1, wxID_CANCEL, _("&Cancel"), wxDefaultPosition, wxDefaultSize, 0); + item21->Add(item24, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxButton* item23 = new wxButton(item1, wxID_HELP, _("&Help"), wxDefaultPosition, wxDefaultSize, 0); - item19->Add(item23, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); + wxButton* item25 = new wxButton(item1, wxID_HELP, _("&Help"), wxDefaultPosition, wxDefaultSize, 0); + item21->Add(item25, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); #if defined(__WXGTK__) || defined(__WXMAC__) - wxContextHelpButton* item24 = new wxContextHelpButton(item1, wxID_CONTEXT_HELP, wxDefaultPosition, wxSize(20, -1), wxBU_AUTODRAW); - item19->Add(item24, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); + wxContextHelpButton* item26 = new wxContextHelpButton(item1, wxID_CONTEXT_HELP, wxDefaultPosition, wxSize(20, -1), wxBU_AUTODRAW); + item21->Add(item26, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); #endif GetSizer()->Fit(this); @@ -219,17 +219,38 @@ void ctGeneralSettingsDialog::CreateControls() wxCheckBox* item7 = new wxCheckBox(item4, ID_LOAD_LAST_DOCUMENT, _("&Load last document"), wxDefaultPosition, wxDefaultSize, 0); item7->SetValue(FALSE); + item7->SetHelpText(_("Check to load the last document on startup")); + if (ShowToolTips()) + item7->SetToolTip(_("Check to load the last document on startup")); item6->Add(item7, 0, wxALIGN_LEFT|wxALL, 5); wxCheckBox* item8 = new wxCheckBox(item4, ID_SHOW_TOOLTIPS, _("&Show tooltips"), wxDefaultPosition, wxDefaultSize, 0); item8->SetValue(FALSE); + item8->SetHelpText(_("Check to show tooltips")); + if (ShowToolTips()) + item8->SetToolTip(_("Check to show tooltips")); item6->Add(item8, 0, wxALIGN_LEFT|wxALL, 5); + wxStaticText* item9 = new wxStaticText(item4, wxID_STATIC, _("&Default file kind to save when using the Go command:"), wxDefaultPosition, wxDefaultSize, 0); + item6->Add(item9, 0, wxALIGN_LEFT|wxLEFT|wxRIGHT|wxTOP|wxADJUST_MINSIZE, 5); + + wxString item10Strings[] = { + _("Setup file"), + _("Configure script") + }; + wxChoice* item10 = new wxChoice(item4, ID_DEFAULT_FILE_KIND, wxDefaultPosition, wxSize(200, -1), 2, item10Strings, 0); + item10->SetStringSelection(_("Setup file")); + item10->SetHelpText(_("Select the default kind of file to save using Go")); + if (ShowToolTips()) + item10->SetToolTip(_("Select the default kind of file to save using Go")); + item6->Add(item10, 0, wxGROW|wxALL, 5); + GetSizer()->Fit(this); ////@end ctGeneralSettingsDialog content construction FindWindow(ID_LOAD_LAST_DOCUMENT)->SetValidator(wxGenericValidator(& wxGetApp().GetSettings().m_loadLastDocument)); FindWindow(ID_SHOW_TOOLTIPS)->SetValidator(wxGenericValidator(& wxGetApp().GetSettings().m_useToolTips)); + FindWindow(ID_DEFAULT_FILE_KIND)->SetValidator(wxGenericValidator(& wxGetApp().GetSettings().m_defaultFileKind)); } /*! @@ -282,36 +303,45 @@ void ctLocationSettingsDialog::CreateControls() { ////@begin ctLocationSettingsDialog content construction - ctLocationSettingsDialog* item9 = this; + ctLocationSettingsDialog* item11 = this; - wxBoxSizer* item10 = new wxBoxSizer(wxVERTICAL); - item9->SetSizer(item10); - item9->SetAutoLayout(TRUE); + wxBoxSizer* item12 = new wxBoxSizer(wxVERTICAL); + item11->SetSizer(item12); + item11->SetAutoLayout(TRUE); - wxStaticBox* item11Static = new wxStaticBox(item9, -1, _("Locations")); - wxStaticBoxSizer* item11 = new wxStaticBoxSizer(item11Static, wxVERTICAL); - item10->Add(item11, 1, wxGROW|wxALL, 5); + wxStaticBox* item13Static = new wxStaticBox(item11, -1, _("Locations")); + wxStaticBoxSizer* item13 = new wxStaticBoxSizer(item13Static, wxVERTICAL); + item12->Add(item13, 1, wxGROW|wxALL, 5); - wxStaticText* item12 = new wxStaticText(item9, wxID_STATIC, _("&wxWindows hierarchy:"), wxDefaultPosition, wxDefaultSize, 0); - item11->Add(item12, 0, wxALIGN_LEFT|wxALL|wxADJUST_MINSIZE, 5); + wxStaticText* item14 = new wxStaticText(item11, wxID_STATIC, _("&wxWindows hierarchy:"), wxDefaultPosition, wxDefaultSize, 0); + item13->Add(item14, 0, wxALIGN_LEFT|wxALL|wxADJUST_MINSIZE, 5); - wxBoxSizer* item13 = new wxBoxSizer(wxHORIZONTAL); - item11->Add(item13, 0, wxGROW, 5); + wxBoxSizer* item15 = new wxBoxSizer(wxHORIZONTAL); + item13->Add(item15, 0, wxGROW, 5); - wxTextCtrl* item14 = new wxTextCtrl(item9, ID_WXWIN_HIERARCHY, _(""), wxDefaultPosition, wxSize(200, -1), 0); - item13->Add(item14, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); + wxTextCtrl* item16 = new wxTextCtrl(item11, ID_WXWIN_HIERARCHY, _(""), wxDefaultPosition, wxSize(200, -1), 0); + item16->SetHelpText(_("Enter the root path of the wxWindows hierarchy")); + if (ShowToolTips()) + item16->SetToolTip(_("Enter the root path of the wxWindows hierarchy")); + item15->Add(item16, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxButton* item15 = new wxButton(item9, ID_CHOOSE_WXWIN_HIERARCHY, _("&Choose..."), wxDefaultPosition, wxDefaultSize, 0); - item13->Add(item15, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); + wxButton* item17 = new wxButton(item11, ID_CHOOSE_WXWIN_HIERARCHY, _("&Choose..."), wxDefaultPosition, wxDefaultSize, 0); + item17->SetHelpText(_("Click to choose the root path of the wxWindows hierarchy\\n")); + if (ShowToolTips()) + item17->SetToolTip(_("Click to choose the root path of the wxWindows hierarchy\\n")); + item15->Add(item17, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxBoxSizer* item16 = new wxBoxSizer(wxHORIZONTAL); - item11->Add(item16, 0, wxGROW, 5); + wxBoxSizer* item18 = new wxBoxSizer(wxHORIZONTAL); + item13->Add(item18, 0, wxGROW, 5); - item16->Add(60, 5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); + item18->Add(60, 5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); - wxCheckBox* item18 = new wxCheckBox(item9, ID_USE_WXWIN, _("&Use WXWIN environment variable"), wxDefaultPosition, wxDefaultSize, 0); - item18->SetValue(FALSE); - item16->Add(item18, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); + wxCheckBox* item20 = new wxCheckBox(item11, ID_USE_WXWIN, _("&Use WXWIN environment variable"), wxDefaultPosition, wxDefaultSize, 0); + item20->SetValue(FALSE); + item20->SetHelpText(_("Check to use the value of WXWIN instead")); + if (ShowToolTips()) + item20->SetToolTip(_("Check to use the value of WXWIN instead")); + item18->Add(item20, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5); GetSizer()->Fit(this); ////@end ctLocationSettingsDialog content construction diff --git a/utils/configtool/src/settingsdialog.h b/utils/configtool/src/settingsdialog.h index bee8b64381..43939248de 100644 --- a/utils/configtool/src/settingsdialog.h +++ b/utils/configtool/src/settingsdialog.h @@ -42,6 +42,7 @@ class ctLocationSettingsDialog; #define ID_GENERAL_SETTINGS_DIALOG 10005 #define ID_LOAD_LAST_DOCUMENT 10006 #define ID_SHOW_TOOLTIPS 10007 +#define ID_DEFAULT_FILE_KIND 10003 #define ID_LOCATION_SETTINGS_DIALOG 10008 #define ID_WXWIN_HIERARCHY 10010 #define ID_CHOOSE_WXWIN_HIERARCHY 10011 diff --git a/utils/configtool/src/wxconfigtool.h b/utils/configtool/src/wxconfigtool.h index 72ed69e763..a88f72962a 100644 --- a/utils/configtool/src/wxconfigtool.h +++ b/utils/configtool/src/wxconfigtool.h @@ -136,6 +136,7 @@ DECLARE_APP(ctApp) // File menu ids #define ctID_SAVE_SETUP_FILE 1001 #define ctID_SAVE_CONFIGURE_COMMAND 1002 +#define ctID_GO 1003 // Edit menu ids #define ctID_ADD_ITEM 1030 diff --git a/utils/configtool/src/wxconfigtool.pjd b/utils/configtool/src/wxconfigtool.pjd index 10e27d572a..d647bb5e4b 100644 --- a/utils/configtool/src/wxconfigtool.pjd +++ b/utils/configtool/src/wxconfigtool.pjd @@ -12,7 +12,7 @@ - 68 + 70 TRUE FALSE @@ -23,35 +23,36 @@ - + Projects - 11769864 + 12159224 root-document project 1 0 0 - + Dialogs - 11890072 + 11828056 html-document dialogsfolder 1 - 11769864 + 12159224 1 - + Configuration Items Selector - 11878584 + 11862496 dialog-document dialog 0 - 11890072 + 11828056 0 5/5/2003 wbDialogProxy + 10000 ID_DIALOG 10000 ctConfigItemsSelector @@ -77,33 +78,43 @@ FALSE FALSE FALSE - - + + TRUE 400 300 - + + + wxBoxSizer V - 11768584 + 11850736 dialog-control-document sizer 0 - 11878584 + 11862496 0 wbBoxSizerProxy Vertical + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE FALSE FALSE - + wxBoxSizer V - 12051664 + 11852136 dialog-control-document sizer 0 - 11768584 + 11850736 0 wbBoxSizerProxy Vertical @@ -117,21 +128,23 @@ TRUE FALSE FALSE - + wxStaticText - 12053176 + 12204504 dialog-control-document dialogcontrol 0 - 12051664 + 11852136 0 wbStaticTextProxy wxID_STATIC 5105 wxStaticText + Please edit the list of configuration items by selecting from the list below. + FALSE FALSE FALSE FALSE @@ -145,8 +158,8 @@ list below. FALSE FALSE FALSE - - + + -1 -1 -1 @@ -161,21 +174,25 @@ list below. TRUE FALSE TRUE + + - + wxStaticText - 12025320 + 12145024 dialog-control-document dialogcontrol 0 - 12051664 + 11852136 0 wbStaticTextProxy wxID_STATIC 5105 wxStaticText + &Available items: + FALSE FALSE FALSE FALSE @@ -189,8 +206,8 @@ list below. FALSE FALSE FALSE - - + + -1 -1 -1 @@ -205,20 +222,23 @@ list below. TRUE FALSE TRUE + + - + wxListBox - 12254312 + 11927768 dialog-control-document dialogcontrol 0 - 12051664 + 11852136 0 wbListBoxProxy ID_AVAILABLE_CONFIG_ITEMS 10002 wxListBox + FALSE FALSE @@ -239,8 +259,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -257,21 +277,25 @@ list below. TRUE FALSE FALSE + + - + wxStaticText - 11930384 + 12500416 dialog-control-document dialogcontrol 0 - 12051664 + 11852136 0 wbStaticTextProxy wxID_STATIC 5105 wxStaticText + &List of configuration items: + FALSE FALSE FALSE FALSE @@ -285,8 +309,8 @@ list below. FALSE FALSE FALSE - - + + -1 -1 -1 @@ -301,15 +325,17 @@ list below. TRUE FALSE TRUE + + - + wxBoxSizer H - 11896888 + 12186088 dialog-control-document sizer 0 - 12051664 + 11852136 0 wbBoxSizerProxy Horizontal @@ -323,19 +349,20 @@ list below. FALSE FALSE FALSE - + wxListBox - 11798632 + 11931968 dialog-control-document dialogcontrol 0 - 11896888 + 12186088 0 wbListBoxProxy ID_CONFIG_ITEMS 10005 wxListBox + FALSE FALSE @@ -356,8 +383,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -374,15 +401,17 @@ list below. TRUE FALSE FALSE + + - + wxBoxSizer V - 12265280 + 11826456 dialog-control-document sizer 0 - 11896888 + 12186088 0 wbBoxSizerProxy Vertical @@ -396,19 +425,20 @@ list below. TRUE FALSE FALSE - + wxButton - 12011368 + 12525760 dialog-control-document dialogcontrol 0 - 12265280 + 11826456 0 wbButtonProxy ID_CONFIG_ADD 10006 wxButton + TRUE TRUE A&dd @@ -421,8 +451,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -439,20 +469,23 @@ list below. TRUE FALSE FALSE + + - + wxButton - 14842816 + 11928032 dialog-control-document dialogcontrol 0 - 12265280 + 11826456 0 wbButtonProxy ID_CONFIG_REMOVE 10007 wxButton + TRUE TRUE &Remove @@ -465,8 +498,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -483,17 +516,19 @@ list below. TRUE FALSE FALSE + + - + wxBoxSizer H - 11949016 + 12203904 dialog-control-document sizer 0 - 12051664 + 11852136 0 wbBoxSizerProxy Horizontal @@ -507,14 +542,14 @@ list below. FALSE FALSE FALSE - + Spacer - 11945792 + 12122248 dialog-control-document dialogcontrol 0 - 11949016 + 12203904 0 wbSpacerProxy 5 @@ -530,19 +565,20 @@ list below. FALSE FALSE - + wxButton - 11904272 + 12178424 dialog-control-document dialogcontrol 0 - 11949016 + 12203904 0 wbButtonProxy wxID_OK 5100 wxButton + TRUE FALSE &OK @@ -555,8 +591,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -573,20 +609,23 @@ list below. TRUE FALSE FALSE + + - + wxButton - 12005728 + 12564104 dialog-control-document dialogcontrol 0 - 11949016 + 12203904 0 wbButtonProxy wxID_CANCEL 5101 wxButton + FALSE FALSE &Cancel @@ -599,8 +638,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -617,22 +656,25 @@ list below. TRUE FALSE FALSE + + - + Edit Custom Property - 11775976 + 12169224 dialog-document dialog 0 - 11890072 + 11828056 0 9/5/2003 wbDialogProxy + 10000 ID_CUSTOMPROPERTYDIALOG 10000 ctCustomPropertyDialog @@ -658,20 +700,22 @@ list below. FALSE FALSE FALSE - - + + TRUE 400 300 - + + + wxBoxSizer V - 11900752 + 11968400 dialog-control-document sizer 0 - 11775976 + 12169224 0 wbBoxSizerProxy Vertical @@ -685,14 +729,14 @@ list below. TRUE FALSE FALSE - + wxBoxSizer V - 11918608 + 12146544 dialog-control-document sizer 0 - 11900752 + 11968400 0 wbBoxSizerProxy Vertical @@ -706,20 +750,22 @@ list below. TRUE FALSE FALSE - + wxStaticText - 11962288 + 12172672 dialog-control-document dialogcontrol 0 - 11918608 + 12146544 0 wbStaticTextProxy wxID_STATIC 5105 wxStaticText + &Enter name, type and description for your custom property. + FALSE FALSE FALSE FALSE @@ -733,8 +779,8 @@ list below. FALSE FALSE FALSE - - + + -1 -1 -1 @@ -749,21 +795,25 @@ list below. TRUE FALSE TRUE + + - + wxStaticText - 12001296 + 11868200 dialog-control-document dialogcontrol 0 - 11918608 + 12146544 0 wbStaticTextProxy wxID_STATIC 5105 wxStaticText + &Name: + FALSE FALSE FALSE FALSE @@ -777,8 +827,8 @@ list below. FALSE FALSE FALSE - - + + -1 -1 -1 @@ -793,20 +843,23 @@ list below. TRUE FALSE TRUE + + - + wxTextCtrl - 11911784 + 12076352 dialog-control-document dialogcontrol 0 - 11918608 + 12146544 0 wbTextCtrlProxy ID_CUSTOMPROPERTYNAME 10003 wxTextCtrl + FALSE FALSE @@ -834,8 +887,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -852,15 +905,17 @@ list below. TRUE FALSE FALSE + + - + wxBoxSizer H - 14630584 + 11874040 dialog-control-document sizer 0 - 11918608 + 12146544 0 wbBoxSizerProxy Horizontal @@ -874,14 +929,14 @@ list below. FALSE FALSE FALSE - + wxBoxSizer V - 12115920 + 12550760 dialog-control-document sizer 0 - 14630584 + 11874040 0 wbBoxSizerProxy Vertical @@ -895,20 +950,22 @@ list below. FALSE FALSE FALSE - + wxStaticText - 12121784 + 12557832 dialog-control-document dialogcontrol 0 - 12115920 + 12550760 0 wbStaticTextProxy wxID_STATIC 5105 wxStaticText + &Data type: + FALSE FALSE FALSE FALSE @@ -922,8 +979,8 @@ list below. FALSE FALSE FALSE - - + + -1 -1 -1 @@ -938,20 +995,23 @@ list below. TRUE FALSE TRUE + + - + wxChoice - 12132496 + 12250576 dialog-control-document dialogcontrol 0 - 12115920 + 12550760 0 wbChoiceProxy ID_CUSTOMPROPERTYTYPE 10002 wxChoice + FALSE FALSE string|bool|double|long @@ -959,8 +1019,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -977,16 +1037,18 @@ list below. TRUE FALSE FALSE + + - + wxBoxSizer V - 14843912 + 14991368 dialog-control-document sizer 0 - 14630584 + 11874040 0 wbBoxSizerProxy Vertical @@ -1000,20 +1062,22 @@ list below. FALSE FALSE FALSE - + wxStaticText - 14848256 + 14995360 dialog-control-document dialogcontrol 0 - 14843912 + 14991368 0 wbStaticTextProxy wxID_STATIC 10007 wxStaticText + &Editor type: + FALSE FALSE FALSE FALSE @@ -1027,8 +1091,8 @@ list below. FALSE FALSE FALSE - - + + -1 -1 -1 @@ -1043,20 +1107,23 @@ list below. TRUE FALSE TRUE + + - + wxChoice - 14858912 + 15007864 dialog-control-document dialogcontrol 0 - 14843912 + 14991368 0 wbChoiceProxy ID_CUSTOMPROPERTYEDITORTYPE 10008 wxChoice + FALSE FALSE string|choice|bool|float|integer|configitems @@ -1064,8 +1131,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -1082,20 +1149,23 @@ list below. TRUE FALSE FALSE + + - + wxStaticBoxSizer H - 14867560 + 15017272 dialog-control-document sizer 0 - 11918608 + 12146544 0 wbStaticBoxSizerProxy Choices + Horizontal Expand Centre @@ -1107,19 +1177,20 @@ list below. TRUE FALSE FALSE - + wxListBox - 14871616 + 15021688 dialog-control-document dialogcontrol 0 - 14867560 + 15017272 0 wbListBoxProxy ID_PROPERTY_CHOICES 10001 wxListBox + FALSE TRUE @@ -1140,8 +1211,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -1158,15 +1229,17 @@ list below. TRUE FALSE FALSE + + - + wxBoxSizer V - 14884616 + 15035584 dialog-control-document sizer 0 - 14867560 + 15017272 0 wbBoxSizerProxy Vertical @@ -1180,19 +1253,20 @@ list below. FALSE FALSE FALSE - + wxButton - 14889624 + 15039816 dialog-control-document dialogcontrol 0 - 14884616 + 15035584 0 wbButtonProxy ID_PROPERTY_CHOICE_ADD 10005 wxButton + TRUE TRUE &Add... @@ -1205,8 +1279,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -1223,20 +1297,23 @@ list below. TRUE FALSE FALSE + + - + wxButton - 14900232 + 15051864 dialog-control-document dialogcontrol 0 - 14884616 + 15035584 0 wbButtonProxy ID_PROPERTY_CHOICE_REMOVE 10006 wxButton + TRUE TRUE &Remove @@ -1249,8 +1326,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -1267,23 +1344,27 @@ list below. TRUE FALSE FALSE + + - + wxStaticText - 14910776 + 12076984 dialog-control-document dialogcontrol 0 - 11918608 + 12146544 0 wbStaticTextProxy wxID_STATIC 5105 wxStaticText + &Description: + FALSE FALSE FALSE FALSE @@ -1297,8 +1378,8 @@ list below. FALSE FALSE FALSE - - + + -1 -1 -1 @@ -1313,20 +1394,23 @@ list below. TRUE FALSE TRUE + + - + wxTextCtrl - 14920800 + 15073600 dialog-control-document dialogcontrol 0 - 11918608 + 12146544 0 wbTextCtrlProxy ID_CUSTOMPROPERTYDESCRIPTION 10004 wxTextCtrl + FALSE FALSE @@ -1354,8 +1438,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -1372,15 +1456,17 @@ list below. TRUE FALSE FALSE + + - + wxBoxSizer H - 14936400 + 15089864 dialog-control-document sizer 0 - 11918608 + 12146544 0 wbBoxSizerProxy Horizontal @@ -1394,14 +1480,14 @@ list below. TRUE FALSE FALSE - + Spacer - 14940512 + 15094056 dialog-control-document dialogcontrol 0 - 14936400 + 15089864 0 wbSpacerProxy 5 @@ -1417,19 +1503,20 @@ list below. FALSE FALSE - + wxButton - 14945216 + 15098024 dialog-control-document dialogcontrol 0 - 14936400 + 15089864 0 wbButtonProxy wxID_OK 5100 wxButton + FALSE FALSE &OK @@ -1442,8 +1529,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -1460,20 +1547,23 @@ list below. TRUE FALSE FALSE + + - + wxButton - 14955704 + 15109944 dialog-control-document dialogcontrol 0 - 14936400 + 15089864 0 wbButtonProxy wxID_CANCEL 5101 wxButton + FALSE FALSE &Cancel @@ -1486,8 +1576,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -1504,20 +1594,23 @@ list below. TRUE FALSE FALSE + + - + wxButton - 14966160 + 15121152 dialog-control-document dialogcontrol 0 - 14936400 + 15089864 0 wbButtonProxy wxID_HELP 5009 wxButton + FALSE FALSE &Help @@ -1530,8 +1623,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -1548,22 +1641,25 @@ list below. TRUE FALSE FALSE + + - + Settings Dialog - 11988832 + 12575712 dialog-document dialog 0 - 11890072 + 11828056 0 9/5/2003 wbDialogProxy + 10000 ID_SETTINGS_DIALOG 10000 ctSettingsDialog @@ -1589,46 +1685,39 @@ list below. FALSE FALSE FALSE - - + + TRUE 400 300 - + wxBoxSizer V - 14984680 + 15140008 dialog-control-document sizer 0 - 11988832 + 12575712 0 wbBoxSizerProxy Vertical - Centre - Centre - 0 - 5 - TRUE - TRUE - TRUE - TRUE FALSE FALSE - + wxNotebook - 14989824 + 15144888 dialog-control-document dialogcontrol 0 - 14984680 + 15140008 0 wbNotebookProxy ID_NOTEBOOK 10001 wxNotebook + FALSE FALSE TRUE @@ -1648,8 +1737,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -1666,20 +1755,21 @@ list below. TRUE FALSE FALSE - + wxPanel - 15005408 + 15161304 dialog-control-document dialogcontrol 0 - 14989824 + 15144888 0 wbPanelProxy ID_GENERAL_SETTINGS_DIALOG 10005 ctGeneralSettingsDialog - TRUE + General + FALSE FALSE FALSE @@ -1690,10 +1780,11 @@ list below. FALSE FALSE FALSE - - + + + TRUE -1 -1 100 @@ -1708,15 +1799,16 @@ list below. TRUE FALSE FALSE - General - + + + wxBoxSizer V - 15017056 + 15174776 dialog-control-document sizer 0 - 15005408 + 15161304 0 wbBoxSizerProxy Vertical @@ -1730,17 +1822,18 @@ list below. TRUE FALSE FALSE - + wxStaticBoxSizer V - 15022720 + 15180448 dialog-control-document sizer 0 - 15017056 + 15174776 0 wbStaticBoxSizerProxy General settings + Vertical Expand Centre @@ -1752,19 +1845,20 @@ list below. TRUE FALSE FALSE - + wxCheckBox - 15029440 + 15186752 dialog-control-document dialogcontrol 0 - 15022720 + 15180448 0 wbCheckBoxProxy ID_LOAD_LAST_DOCUMENT 10006 wxCheckBox + FALSE FALSE &Load last document @@ -1772,9 +1866,9 @@ list below. FALSE FALSE FALSE - - - + + + Check to load the last document on startup -1 -1 @@ -1791,19 +1885,20 @@ list below. FALSE FALSE - + wxCheckBox - 15038432 + 15197184 dialog-control-document dialogcontrol 0 - 15022720 + 15180448 0 wbCheckBoxProxy ID_SHOW_TOOLTIPS 10007 wxCheckBox + FALSE FALSE &Show tooltips @@ -1811,9 +1906,9 @@ list below. FALSE FALSE FALSE - - - + + + Check to show tooltips -1 -1 @@ -1830,109 +1925,22 @@ list below. FALSE FALSE - - - - - wxPanel - 15003984 - dialog-control-document - - dialogcontrol - 0 - 14989824 - 0 - wbPanelProxy - ID_LOCATION_SETTINGS_DIALOG - 10008 - ctLocationSettingsDialog - TRUE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - FALSE - - - - - -1 - -1 - 100 - 80 - Centre - Centre - 0 - 5 - TRUE - TRUE - TRUE - TRUE - FALSE - FALSE - Locations - - wxBoxSizer V - 15055824 - dialog-control-document - - sizer - 0 - 15003984 - 0 - wbBoxSizerProxy - Vertical - Centre - Centre - 1 - 5 - TRUE - TRUE - TRUE - TRUE - FALSE - FALSE - - wxStaticBoxSizer V - 15060592 - dialog-control-document - - sizer - 0 - 15055824 - 0 - wbStaticBoxSizerProxy - Locations - Vertical - Expand - Centre - 1 - 5 - TRUE - TRUE - TRUE - TRUE - FALSE - FALSE - + wxStaticText - 15067368 + 12200472 dialog-control-document dialogcontrol 0 - 15060592 + 15180448 0 wbStaticTextProxy wxID_STATIC - 5105 + 10002 wxStaticText - &wxWindows hierarchy: + + &Default file kind to save when using the Go command: + FALSE FALSE FALSE FALSE @@ -1946,8 +1954,187 @@ list below. FALSE FALSE FALSE - - + + + -1 + -1 + -1 + -1 + Left + Centre + 0 + 5 + TRUE + TRUE + TRUE + FALSE + FALSE + TRUE + + + wxChoice + 11983984 + dialog-control-document + + dialogcontrol + 0 + 15180448 + 0 + wbChoiceProxy + ID_DEFAULT_FILE_KIND + 10003 + wxChoice + + FALSE + FALSE + Setup file|Configure script + Setup file + FALSE + FALSE + FALSE + + + Select the default kind of file to save using Go + + -1 + -1 + 200 + -1 + Expand + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + + + + + + wxPanel + 15162256 + dialog-control-document + + dialogcontrol + 0 + 15144888 + 0 + wbPanelProxy + ID_LOCATION_SETTINGS_DIALOG + 10008 + ctLocationSettingsDialog + Locations + + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + + + + TRUE + -1 + -1 + 100 + 80 + Centre + Centre + 0 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + + + + wxBoxSizer V + 15215296 + dialog-control-document + + sizer + 0 + 15162256 + 0 + wbBoxSizerProxy + Vertical + Centre + Centre + 1 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + + wxStaticBoxSizer V + 15220872 + dialog-control-document + + sizer + 0 + 15215296 + 0 + wbStaticBoxSizerProxy + Locations + + Vertical + Expand + Centre + 1 + 5 + TRUE + TRUE + TRUE + TRUE + FALSE + FALSE + + wxStaticText + 15227216 + dialog-control-document + + dialogcontrol + 0 + 15220872 + 0 + wbStaticTextProxy + wxID_STATIC + 5105 + wxStaticText + + &wxWindows hierarchy: + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + FALSE + + -1 -1 -1 @@ -1963,14 +2150,14 @@ list below. FALSE TRUE - + wxBoxSizer H - 15078400 + 15239928 dialog-control-document sizer 0 - 15060592 + 15220872 0 wbBoxSizerProxy Horizontal @@ -1984,19 +2171,20 @@ list below. FALSE FALSE FALSE - + wxTextCtrl - 15084456 + 15244496 dialog-control-document dialogcontrol 0 - 15078400 + 15239928 0 wbTextCtrlProxy ID_WXWIN_HIERARCHY 10010 wxTextCtrl + FALSE TRUE @@ -2024,9 +2212,9 @@ list below. FALSE FALSE FALSE - - - + + + Enter the root path of the wxWindows hierarchy -1 -1 @@ -2043,19 +2231,20 @@ list below. FALSE FALSE - + wxButton - 15100704 + 15262920 dialog-control-document dialogcontrol 0 - 15078400 + 15239928 0 wbButtonProxy ID_CHOOSE_WXWIN_HIERARCHY 10011 wxButton + TRUE TRUE &Choose... @@ -2068,9 +2257,10 @@ list below. FALSE FALSE FALSE - - - + + + Click to choose the root path of the wxWindows hierarchy + -1 -1 @@ -2088,14 +2278,14 @@ list below. FALSE - + wxBoxSizer H - 15110392 + 15273336 dialog-control-document sizer 0 - 15060592 + 15220872 0 wbBoxSizerProxy Horizontal @@ -2109,14 +2299,14 @@ list below. FALSE FALSE FALSE - + Spacer - 15114424 + 15277448 dialog-control-document dialogcontrol 0 - 15110392 + 15273336 0 wbSpacerProxy 60 @@ -2132,19 +2322,20 @@ list below. FALSE FALSE - + wxCheckBox - 15118792 + 15281560 dialog-control-document dialogcontrol 0 - 15110392 + 15273336 0 wbCheckBoxProxy ID_USE_WXWIN 10012 wxCheckBox + FALSE FALSE &Use WXWIN environment variable @@ -2152,9 +2343,9 @@ list below. FALSE FALSE FALSE - - - + + + Check to use the value of WXWIN instead -1 -1 @@ -2176,14 +2367,14 @@ list below. - + wxBoxSizer H - 11962096 + 15187192 dialog-control-document sizer 0 - 14984680 + 15140008 0 wbBoxSizerProxy Horizontal @@ -2197,14 +2388,14 @@ list below. TRUE FALSE FALSE - + Spacer - 15128184 + 15145120 dialog-control-document dialogcontrol 0 - 11962096 + 15187192 0 wbSpacerProxy 5 @@ -2220,19 +2411,20 @@ list below. FALSE FALSE - + wxButton - 15132184 + 15294368 dialog-control-document dialogcontrol 0 - 11962096 + 15187192 0 wbButtonProxy wxID_OK 5100 wxButton + TRUE FALSE &OK @@ -2245,8 +2437,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -2264,19 +2456,20 @@ list below. FALSE FALSE - + wxButton - 15141752 + 15304600 dialog-control-document dialogcontrol 0 - 11962096 + 15187192 0 wbButtonProxy wxID_CANCEL 5101 wxButton + TRUE FALSE &Cancel @@ -2289,8 +2482,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -2307,20 +2500,23 @@ list below. TRUE FALSE FALSE + + - + wxButton - 15151408 + 15315760 dialog-control-document dialogcontrol 0 - 11962096 + 15187192 0 wbButtonProxy wxID_HELP 5009 wxButton + TRUE FALSE &Help @@ -2333,8 +2529,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -2351,20 +2547,23 @@ list below. TRUE FALSE FALSE + + - + wxContextHelpButton - 15161400 + 15327200 dialog-control-document dialogcontrol 0 - 11962096 + 15187192 0 wbContextHelpButtonProxy wxID_CONTEXT_HELP 5112 wxContextHelpButton + FALSE FALSE __WXGTK__,__WXMAC__ @@ -2375,8 +2574,8 @@ list below. FALSE FALSE FALSE - - + + -1 @@ -2393,19 +2592,21 @@ list below. TRUE FALSE FALSE + + - + Images - 12009368 + 11874480 html-document bitmapsfolder 1 - 11769864 + 12159224 1