Changelogs
Overview
These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2016-05-09 08:38:04
Changelog for wxWidgets (70435 changes):
2009-12-15 12:24 VS, revision 628892009-12-14 20:17 VZ, revision 62886PCH compilation fix
2009-12-14 17:13 JMS, revision 62885Avoid painting generic wxDataViewCtrl if it has no columns. The code in wxDataViewMainWindow::OnPaint() relied on having at least the first column and didn't work for a completely empty control. Just don't paint it at all in this case as it's unnecessary anyhow.
2009-12-14 16:33 JMS, revision 62884Make wxPG_EX_MULTIPLE_SELECTION behave more like a Windows list box (regarding Ctrl and Shift keys)
2009-12-14 16:18 JMS, revision 62882Determine better whether the property editor needs to be refreshed in wxPGProperty::SetValue()
2009-12-14 16:17 JMS, revision 62881'Set to Unspecified' -> 'Set Value to Unspecified'
2009-12-14 16:15 JMS, revision 62880Set correct m_state in wxPGCheckBoxEditor::SetValueToUnspecified()
- M /wxWidgets/trunk/include/wx/propgrid/property.h
- M /wxWidgets/trunk/include/wx/propgrid/propgridiface.h
2009-12-14 16:12 JMS, revision 62879Always refresh the editor when setting property value to unspecified.
2009-12-14 13:41 VZ, revision 62877Fixed unspecified property value rendering for various editor types (including check box)
2009-12-14 10:38 CE, revision 62876Restore correct access to wxGenericStaticText::Set{Font,Label}. Accessibility of these methods was accidentally changed to protected in r62821 and this broke wxUniv compilation, make them public again.
2009-12-13 13:52 VZ, revision 62871fix for second bug in bug 11438
2009-12-13 13:52 VZ, revision 62870Remove unnecessary Mac-specific TOOLKIT_LOWERCASE setting. TOOLKIT is never set to "MAC" at all (it is one of OSX_{CARBON,COCOA,IPHONE}) so it is not necessary to test for it. And for the other cases the special logic for OS X ports was the same as the general case so it seems to be unnecessary as well.
2009-12-13 13:52 VZ, revision 62869Add --with-[osx_]iphone switch to configure. This is another Mac (wxUSE_MAC is defined) port with TOOLKIT=OSX_IPHONE. Also use this port by default for arm-apple-darwin platforms.
2009-12-13 13:52 VZ, revision 62868Test for sw_vers availability before calling it in configure. There is no sw_vers when cross-compiling, just assume 10.4 system in this case and point the user to --with-macosx-version-min which can be used to override this.
2009-12-13 13:00 JMS, revision 62867Rename --with-cocoa configure switch to --with-old_cocoa to avoid confusion. Change --with-cocoa to be synonym for --with-osx_cocoa, add --with-carbon as a synonym for --with-osx_carbon for consistency and --with-osx as a synonym for --with-mac.
- M /wxWidgets/trunk/include/wx/propgrid/manager.h
- M /wxWidgets/trunk/include/wx/propgrid/propgrid.h
- M /wxWidgets/trunk/include/wx/propgrid/propgridpagestate.h
- M /wxWidgets/trunk/interface/wx/propgrid/manager.h
- M /wxWidgets/trunk/interface/wx/propgrid/propgrid.h
- M /wxWidgets/trunk/samples/propgrid/propgrid.cpp
- M /wxWidgets/trunk/samples/propgrid/propgrid.h
- M /wxWidgets/trunk/src/propgrid/manager.cpp
- M /wxWidgets/trunk/src/propgrid/propgrid.cpp
- M /wxWidgets/trunk/src/propgrid/propgridpagestate.cpp
2009-12-12 15:01 SC, revision 62866Added wxPropertyGridManager header support; Refactored wxPropertyGrid DoSetSplitterPosition() code
- M /wxWidgets/trunk/include/wx/osx/iphone/chkconf.h
- M /wxWidgets/trunk/include/wx/osx/iphone/private.h
2009-12-12 14:40 SC, revision 62865rearranging contentview, adding toolbar
- M /wxWidgets/trunk/src/osx/iphone/nonownedwnd.mm
- M /wxWidgets/trunk/src/osx/iphone/toolbar.mm
- M /wxWidgets/trunk/src/osx/iphone/window.mm
2009-12-12 13:24 JMS, revision 62864rearranging contentview, adding toolbar
2009-12-12 11:10 JMS, revision 62863wxHeaderColumnBase -> wxHeaderColumn; Fixed UpdateColumnWidthToFit() sample code
2009-12-12 10:59 JMS, revision 62862On Windows, force read-only property editor wxTextCtrl to have 'white' background (for now...)
2009-12-12 10:38 JMS, revision 62861Added a proper log frame to the propgrid sample
- M /wxWidgets/trunk/include/wx/propgrid/propgrid.h
- M /wxWidgets/trunk/interface/wx/propgrid/propgrid.h
- M /wxWidgets/trunk/samples/propgrid/propgrid.cpp
- M /wxWidgets/trunk/samples/propgrid/propgrid.h
- M /wxWidgets/trunk/src/propgrid/propgrid.cpp
2009-12-11 16:50 JMS, revision 62859Generate wxPropertyGrid splitter (column divider) events: wxEVT_PG_COL_BEGIN_DRAG, wxEVT_PG_COL_DRAGGING, wxEVT_PG_COL_END_DRAG
2009-12-11 14:55 CE, revision 62857Fixed incorrect use of RemoveAt() in wxPropertyGridPageState::SetColumnCount() (fixes #11539)
2009-12-10 04:04 VZ, revision 62850fix for bug 11438
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/msw/toolbar.h
- M /wxWidgets/trunk/include/wx/tbarbase.h
- M /wxWidgets/trunk/interface/wx/toolbar.h
- M /wxWidgets/trunk/samples/toolbar/toolbar.cpp
- M /wxWidgets/trunk/src/common/tbarbase.cpp
- M /wxWidgets/trunk/src/gtk/toolbar.cpp
- M /wxWidgets/trunk/src/msw/toolbar.cpp
- M /wxWidgets/trunk/src/osx/cocoa/toolbar.mm
2009-12-10 04:04 VZ, revision 62849Add support for stretchable spaces to wxToolBar. Stretchable spaces consume all extra toolbar space not allocated to the fixed size items. They can in particular be used to right-align (some) toolbar tools. Add and document the new API, change the sample to show it and implement it for MSW, GTK and OS X/Cocoa. Also refactor MSW background erasing/repainting code to avoid duplicated calls to DrawThemeBackground(), call it from a new helper MSWEraseRect() function. Note that we may want to add support for "invisible" separators, IOW non-stretchable spaces. This could be easily done for MSW after the changes in this commit and is supported natively by GTK+ and Cocoa so implementing this would be trivial if there is any interest.
- M /wxWidgets/trunk/build/bakefiles/files.bkl
- D /wxWidgets/trunk/include/wx/gtk/tbargtk.h
- A /wxWidgets/trunk/include/wx/gtk/toolbar.h
- D /wxWidgets/trunk/include/wx/gtk1/tbargtk.h
- A /wxWidgets/trunk/include/wx/gtk1/toolbar.h
- M /wxWidgets/trunk/include/wx/toolbar.h
- M /wxWidgets/trunk/Makefile.in
- M /wxWidgets/trunk/src/gtk/descrip.mms
- D /wxWidgets/trunk/src/gtk/tbargtk.cpp
- A /wxWidgets/trunk/src/gtk/toolbar.cpp
- M /wxWidgets/trunk/src/gtk1/descrip.mms
- M /wxWidgets/trunk/src/gtk1/font.cpp
- D /wxWidgets/trunk/src/gtk1/tbargtk.cpp
- A /wxWidgets/trunk/src/gtk1/toolbar.cpp
2009-12-10 03:59 VZ, revision 62848Rename gtk{,1}/tbargtk.{h,cpp} to toolbar.{h,cpp}. We don't use crptknm$port.cpp naming convention even for MSW any more and there is really no reason to continue to do it for just this one file in wxGTK.
2009-12-10 03:59 VZ, revision 62847Set correct toolbar width in wxMSW wxFrame. The hack introduced in r22410 artificially set wrong size for toolbar under MSW. This completely breaks any calculations that can be done using it (e.g. to find the space available for the stretchable part of the toolbar) and is completely and utterly unexpected. Revert it, toolbar flicker must be dealt in another way if it is still a problem.
2009-12-10 03:59 VZ, revision 62846No changes, just refactor wxToolBarToolBase ctors. Add the usual Init() function for common initialization.
- M /wxWidgets/trunk/include/wx/tbarbase.h
- M /wxWidgets/trunk/interface/wx/toolbar.h
- M /wxWidgets/trunk/src/common/tbarbase.cpp
2009-12-09 19:48 PJC, revision 62845No changes, just slightly simplify the tool insertion code. Added a helper DoInsertNewTool() function to avoid code duplication and ensure that we never forget to delete a new tool if inserting it into the toolbar failed. Also explicitly document that the tool passed to the public InsertTool() is not owned by the toolbar and so must be deleted by the caller if its insertion failed.
- M /wxWidgets/trunk/include/wx/ribbon/page.h
- M /wxWidgets/trunk/src/ribbon/page.cpp
- M /wxWidgets/trunk/src/ribbon/toolbar.cpp
2009-12-09 15:59 VZ, revision 62844Rewrote wxRibbonPage realisation and layout code to avoid setting the position and size of panels multiple times. Fixed memory leak in wxRibbonToolBar::Realize().
2009-12-09 15:59 VZ, revision 62843Avoid outputting the assert message twice in non-GUI code. As we always log the assert message in ::ShowAssertDialog() itself there is no need to log it again in wxAppTraitsBase::ShowAssertDialog(). Also show the "please wait while generating stack trace information" in wxAppTraitsBase::GetAssertStackTrace() itself instead of doing it in both places which call it.
2009-12-09 15:59 VZ, revision 62842Don't limit the number of stack frames in GTK assert dialog to 20. This dialog uses a scrollbar to keep its vertical size reasonable in any case so there is absolutely no danger of making it too tall even if we show more frames in it.
- M /wxWidgets/trunk/samples/except/except.cpp
- M /wxWidgets/trunk/src/common/appbase.cpp
- M /wxWidgets/trunk/src/common/appcmn.cpp
- M /wxWidgets/trunk/src/gtk/utilsgtk.cpp
2009-12-09 15:59 VZ, revision 62841Better handling for asserts in non-main threads. Don't call wxTrap() when an assert in a non-main thread fails. As asserts are now always enabled by default, this is not a good idea. Instead just show the full details about the assert failure using wxMessageOutputDebug under the platforms without MT-safe message box function (i.e. everything but MSW currently). Add a possibility to test an assert happening in non-main thread to the except sample.
2009-12-09 15:58 VZ, revision 62840No real changes, just remove __WXDEBUG__ tests. These tests are unnecessary now because asserts are almost always enabled. We could test for wxDEBUG_LEVEL but the code still compiles even if it's defined as 0 so there doesn't seem to be any need for it.
2009-12-09 14:45 VZ, revision 62839Override OnAssertFailure() and not deprecated OnAssert() in except sample. Also make the overridden version more interesting instead of just calling the base class method from it.
2009-12-09 14:40 VZ, revision 62838Document that wxTrap() now traps [almost] always. Don't mention the words "release mode" as there is no such thing now, instead refer to wxDEBUG_LEVEL explicitly.
- A /wxWidgets/branches/wxSYMBIAN/build/symbian
- A /wxWidgets/branches/wxSYMBIAN/build/symbian/ABLD.BAT
- A /wxWidgets/branches/wxSYMBIAN/build/symbian/bld.inf
- A /wxWidgets/branches/wxSYMBIAN/build/symbian/wxSymLib.mmp
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/app.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/apptbase.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/apptrait.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/chkconf.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/control.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/dcclient.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/dcmemory.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/dcprint.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/dcscreen.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/evtloop.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/msgdlg.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/private
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/private/sockunix.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/region.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/timer.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/tls.h
- A /wxWidgets/branches/wxSYMBIAN/include/wx/symbian/toplevel.h
- A /wxWidgets/branches/wxSYMBIAN/src/symbian
- A /wxWidgets/branches/wxSYMBIAN/src/symbian/dir.cpp
- A /wxWidgets/branches/wxSYMBIAN/src/symbian/evtloop.cpp
- A /wxWidgets/branches/wxSYMBIAN/src/symbian/fdiounix.cpp
- A /wxWidgets/branches/wxSYMBIAN/src/symbian/mimetype.cpp
- A /wxWidgets/branches/wxSYMBIAN/src/symbian/sockunix.cpp
- A /wxWidgets/branches/wxSYMBIAN/src/symbian/thread.cpp
- A /wxWidgets/branches/wxSYMBIAN/src/symbian/timer.cpp
- A /wxWidgets/branches/wxSYMBIAN/src/symbian/utils.cpp
- A /wxWidgets/branches/wxSYMBIAN/src/symbian/utilsexc.cpp
2009-12-09 14:31 VZ, revision 62837Add wxSymbian-specific headers and sources and build files. Patch by Andrei Matuk. Closes #11489.
2009-12-09 14:27 VZ, revision 62836Explicitly link the SDK application example with user32.lib. As this sample uses GUI Windows functions, it requires this library. Not sure why it isn't added by bakefile automatically for app-type==gui target.
2009-12-09 09:21 SC, revision 62835STL build compilation fix. Explicitly cast wxWindowBase pointer to wxWindow before passing it to wxWindowList::Find().
2009-12-09 08:38 SC, revision 62834support for getting current event loop on iPhone
- M /wxWidgets/trunk/src/common/filefn.cpp
- M /wxWidgets/trunk/src/common/filename.cpp
- M /wxWidgets/trunk/src/common/utilscmn.cpp
- M /wxWidgets/trunk/src/generic/filectrlg.cpp
- M /wxWidgets/trunk/src/unix/dir.cpp
2009-12-09 08:29 SC, revision 62833avoiding string conversions on 1st param of wxStat, as the latter is having a param of wxString now always and does the conversion internally
2009-12-09 08:28 SC, revision 62832using on all OSX variants
2009-12-09 08:27 SC, revision 62831fixing toolbar support, adding iphone
2009-12-09 08:26 SC, revision 62830make sure it is compilable w/o menus (eg on iPhone)
2009-12-09 08:24 SC, revision 62829remove workaround
2009-12-09 06:25 KO, revision 62828avoid double define warnings
- M /wxWidgets/trunk/include/wx/osx/cocoa/private.h
- M /wxWidgets/trunk/include/wx/osx/core/private.h
- M /wxWidgets/trunk/include/wx/osx/toplevel.h
- M /wxWidgets/trunk/include/wx/toplevel.h
- M /wxWidgets/trunk/interface/wx/toplevel.h
- M /wxWidgets/trunk/src/osx/cocoa/nonownedwnd.mm
- M /wxWidgets/trunk/src/osx/toplevel_osx.cpp
2009-12-08 17:36 VZ, revision 62825Add OSX prefix, and be clear that this is OS X only API to avoid any expectation that this API may work elsewhere.
- M /wxWidgets/trunk/build/bakefiles/common.bkl
- M /wxWidgets/trunk/build/msw/makefile.vc
- M /wxWidgets/trunk/demos/bombs/makefile.vc
- M /wxWidgets/trunk/demos/forty/makefile.vc
- M /wxWidgets/trunk/demos/fractal/makefile.vc
- M /wxWidgets/trunk/demos/life/makefile.vc
- M /wxWidgets/trunk/demos/poem/makefile.vc
- M /wxWidgets/trunk/samples/access/makefile.vc
- M /wxWidgets/trunk/samples/animate/makefile.vc
- M /wxWidgets/trunk/samples/artprov/makefile.vc
- M /wxWidgets/trunk/samples/aui/makefile.vc
- M /wxWidgets/trunk/samples/calendar/makefile.vc
- M /wxWidgets/trunk/samples/caret/makefile.vc
- M /wxWidgets/trunk/samples/clipboard/makefile.vc
- M /wxWidgets/trunk/samples/collpane/makefile.vc
- M /wxWidgets/trunk/samples/combo/makefile.vc
- M /wxWidgets/trunk/samples/config/makefile.vc
- M /wxWidgets/trunk/samples/console/makefile.vc
- M /wxWidgets/trunk/samples/controls/makefile.vc
- M /wxWidgets/trunk/samples/dataview/makefile.vc
- M /wxWidgets/trunk/samples/debugrpt/makefile.vc
- M /wxWidgets/trunk/samples/dialogs/makefile.vc
- M /wxWidgets/trunk/samples/dialup/makefile.vc
- M /wxWidgets/trunk/samples/display/makefile.vc
- M /wxWidgets/trunk/samples/dll/makefile.vc
- M /wxWidgets/trunk/samples/dnd/makefile.vc
- M /wxWidgets/trunk/samples/docview/makefile.vc
- M /wxWidgets/trunk/samples/dragimag/makefile.vc
- M /wxWidgets/trunk/samples/drawing/makefile.vc
- M /wxWidgets/trunk/samples/erase/makefile.vc
- M /wxWidgets/trunk/samples/event/makefile.vc
- M /wxWidgets/trunk/samples/except/makefile.vc
- M /wxWidgets/trunk/samples/exec/makefile.vc
- M /wxWidgets/trunk/samples/flash/makefile.vc
- M /wxWidgets/trunk/samples/font/makefile.vc
- M /wxWidgets/trunk/samples/fswatcher/makefile.vc
- M /wxWidgets/trunk/samples/grid/makefile.vc
- M /wxWidgets/trunk/samples/help/makefile.vc
- M /wxWidgets/trunk/samples/htlbox/makefile.vc
- M /wxWidgets/trunk/samples/html/about/makefile.vc
- M /wxWidgets/trunk/samples/html/help/makefile.vc
- M /wxWidgets/trunk/samples/html/helpview/makefile.vc
- M /wxWidgets/trunk/samples/html/printing/makefile.vc
- M /wxWidgets/trunk/samples/html/test/makefile.vc
- M /wxWidgets/trunk/samples/html/virtual/makefile.vc
- M /wxWidgets/trunk/samples/html/widget/makefile.vc
- M /wxWidgets/trunk/samples/html/zip/makefile.vc
- M /wxWidgets/trunk/samples/image/makefile.vc
- M /wxWidgets/trunk/samples/internat/makefile.vc
- M /wxWidgets/trunk/samples/ipc/makefile.vc
- M /wxWidgets/trunk/samples/joytest/makefile.vc
- M /wxWidgets/trunk/samples/keyboard/makefile.vc
- M /wxWidgets/trunk/samples/layout/makefile.vc
- M /wxWidgets/trunk/samples/listctrl/makefile.vc
- M /wxWidgets/trunk/samples/mdi/makefile.vc
- M /wxWidgets/trunk/samples/mediaplayer/makefile.vc
- M /wxWidgets/trunk/samples/memcheck/makefile.vc
- M /wxWidgets/trunk/samples/menu/makefile.vc
- M /wxWidgets/trunk/samples/mfc/makefile.vc
- M /wxWidgets/trunk/samples/minimal/makefile.vc
- M /wxWidgets/trunk/samples/nativdlg/makefile.vc
- M /wxWidgets/trunk/samples/notebook/makefile.vc
- M /wxWidgets/trunk/samples/oleauto/makefile.vc
- M /wxWidgets/trunk/samples/opengl/cube/makefile.vc
- M /wxWidgets/trunk/samples/opengl/isosurf/makefile.vc
- M /wxWidgets/trunk/samples/opengl/penguin/makefile.vc
- M /wxWidgets/trunk/samples/ownerdrw/makefile.vc
- M /wxWidgets/trunk/samples/popup/makefile.vc
- M /wxWidgets/trunk/samples/power/makefile.vc
- M /wxWidgets/trunk/samples/printing/makefile.vc
- M /wxWidgets/trunk/samples/propgrid/makefile.vc
- M /wxWidgets/trunk/samples/regtest/makefile.vc
- M /wxWidgets/trunk/samples/render/makefile.vc
- M /wxWidgets/trunk/samples/ribbon/makefile.vc
- M /wxWidgets/trunk/samples/richtext/makefile.vc
- M /wxWidgets/trunk/samples/sashtest/makefile.vc
- M /wxWidgets/trunk/samples/scroll/makefile.vc
- M /wxWidgets/trunk/samples/shaped/makefile.vc
- M /wxWidgets/trunk/samples/sockets/makefile.vc
- M /wxWidgets/trunk/samples/sound/makefile.vc
- M /wxWidgets/trunk/samples/splash/makefile.vc
- M /wxWidgets/trunk/samples/splitter/makefile.vc
- M /wxWidgets/trunk/samples/statbar/makefile.vc
- M /wxWidgets/trunk/samples/stc/makefile.vc
- M /wxWidgets/trunk/samples/svg/makefile.vc
- M /wxWidgets/trunk/samples/taborder/makefile.vc
- M /wxWidgets/trunk/samples/taskbar/makefile.vc
- M /wxWidgets/trunk/samples/text/makefile.vc
- M /wxWidgets/trunk/samples/thread/makefile.vc
- M /wxWidgets/trunk/samples/toolbar/makefile.vc
- M /wxWidgets/trunk/samples/treectrl/makefile.vc
- M /wxWidgets/trunk/samples/typetest/makefile.vc
- M /wxWidgets/trunk/samples/validate/makefile.vc
- M /wxWidgets/trunk/samples/vscroll/makefile.vc
- M /wxWidgets/trunk/samples/widgets/makefile.vc
- M /wxWidgets/trunk/samples/wizard/makefile.vc
- M /wxWidgets/trunk/samples/wrapsizer/makefile.vc
- M /wxWidgets/trunk/samples/xrc/makefile.vc
- M /wxWidgets/trunk/tests/benchmarks/makefile.vc
- M /wxWidgets/trunk/tests/makefile.vc
- M /wxWidgets/trunk/utils/emulator/src/makefile.vc
- M /wxWidgets/trunk/utils/execmon/makefile.vc
- M /wxWidgets/trunk/utils/helpview/src/makefile.vc
- M /wxWidgets/trunk/utils/hhp2cached/makefile.vc
- M /wxWidgets/trunk/utils/ifacecheck/src/makefile.vc
- M /wxWidgets/trunk/utils/screenshotgen/src/makefile.vc
- M /wxWidgets/trunk/utils/wxrc/makefile.vc
2009-12-08 17:35 VZ, revision 62824Use X64 machine type for MSVC linker instead of old AMD64. The officially supported machine type name is X64 now, even if AMD64 is still supported. Closes #10711.
2009-12-08 17:35 VZ, revision 62823Fix duplicate accelerator use in animate sample. Both "Play" and "Stop" used Ctrl+P. Closes #11425.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/cmndata.h
- M /wxWidgets/trunk/include/wx/defs.h
- M /wxWidgets/trunk/include/wx/motif/dcprint.h
- M /wxWidgets/trunk/include/wx/palmos/dcprint.h
- M /wxWidgets/trunk/include/wx/x11/dcprint.h
- M /wxWidgets/trunk/interface/wx/cmndata.h
- M /wxWidgets/trunk/interface/wx/defs.h
- M /wxWidgets/trunk/src/msw/dcprint.cpp
- M /wxWidgets/trunk/src/msw/printdlg.cpp
- M /wxWidgets/trunk/src/palmos/dcprint.cpp
2009-12-08 16:56 VZ, revision 62822Make wxPORTRAIT and wxLANDSCAPE elements of wxPrintOrientation enum. Change wxPrintData::SetOrientation() to take wxPrintOrientation instead of int. Closes #11393.
2009-12-08 16:56 VZ, revision 62821Visually show the cells boundaries in layout sample grid sizer test. Closes #11456.
2009-12-08 16:56 VZ, revision 62820Don't override DoGetBestSize() in wxGenericStaticText, it's unnecessary. The base class already does exactly the same thing -- except that it also accounts for the borders properly. Also fix access for a couple of DoXXX() member functions which should be protected and an event handler which can be private.
2009-12-08 16:56 VZ, revision 62819Implement wxWindow::DoGetBorderSize() in the trivial case of wxBORDER_NONE. This fixes an assert in wxGenericStaticText which overrode DoGetBestClientSize() but not DoGetBorderSize(). It would still be useful to implement DoGetBorderSize() in wxGTK (and other ports) in general too as using wxGenericStaticText with non-default border still doesn't work.
2009-12-08 16:36 VZ, revision 62818Fix unused parameter warning after last commit (r62818).
2009-12-08 16:24 VZ, revision 62817Fix event object in wxSysColourChangedEvent. The handler for this event in the base class incorrectly changed the event object of the original event instead of setting it for the event being sent to the window children as it was supposed to. Closes #11458.
2009-12-08 15:07 JS, revision 62816Don't set the initial size as minimal size for top level windows. Correct the change of r62814: only call SetMinSize() for non-top-level windows as the user should be able to resize the top-level ones to be smaller than their initial size. This also fixes the GTK+ warning resulting from calling wxTLW::SetMinSize() from the ctor, before the window is realized.
2009-12-08 15:07 JS, revision 62815Speed up adding pages during freezing
- M /wxWidgets/trunk/include/wx/aui/auibook.h
- M /wxWidgets/trunk/samples/aui/auidemo.cpp
- M /wxWidgets/trunk/src/aui/auibook.cpp
2009-12-08 00:37 VZ, revision 62814Speed up adding pages during freezing
2009-12-07 18:03 VZ, revision 62813Set initial window size as its minimal size. The change of r62306 broke the code which relied on the window created with a given initial size to never become smaller than this size. This was to be expected because the best size of such window is now (1, 1) and not its initial size but we still need to preserve the old behaviour for compatibility and also because it usually does make sense to avoid shrinking the window with an explicitly specified initial size beneath this value. So call SetMinSize() with the initial size explicitly now in wxWindowBase ctor.
2009-12-07 17:27 VZ, revision 62812Reset wxTheApp when starting to destroy the object it points to. Using wxTheApp when the corresponding object is already half destroyed can't be a good idea so reset it to NULL as soon as possible. Closes #11525.
- M /wxWidgets/trunk/samples/dll/dll.bkl
- A /wxWidgets/trunk/samples/dll/dll_sdk_exe.dsp
- A /wxWidgets/trunk/samples/dll/dll_vc7_sdk_exe.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc8_sdk_exe.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc9_sdk_exe.vcproj
- M /wxWidgets/trunk/samples/dll/Makefile.in
- M /wxWidgets/trunk/samples/dll/makefile.bcc
- M /wxWidgets/trunk/samples/dll/makefile.gcc
- M /wxWidgets/trunk/samples/dll/makefile.vc
- M /wxWidgets/trunk/samples/dll/makefile.wat
- A /wxWidgets/trunk/samples/dll/sdk_exe.cpp
2009-12-07 17:27 VZ, revision 62811Add a very simple example of a Win32 application using wx DLL.
2009-12-07 16:26 VZ, revision 62810Use __declspec(dllexport) instead of WXEXPORT in dll sample header. This header can be included from non-wx code so we can't use wx symbols in it.
2009-12-07 16:23 JS, revision 62809Document wxListCtrl::FindItem() return value. In particular mention that it returns -1 if no items were found. Closes #11523.
2009-12-07 16:22 JS, revision 62808Don't crash if no document
2009-12-07 16:06 JS, revision 62807Don't crash if no document
2009-12-07 16:05 JS, revision 62806Safer access of member variables
2009-12-07 14:37 VZ, revision 62805Safer access of member variables
2009-12-07 06:01 VZ, revision 62804Generate erase background events for native controls too under MSW. Remove the test which prevented the generation of erase background events from wxMSW::wxWindow::HandleEraseBkgnd(). Although it is true that native controls mostly erase background on their own, there are exceptions: we must erase the background of wxToolBar ourselves, for example. More importantly, there is no reason to prevent the user code from defining wxEVT_ERASE_BACKGROUND handlers for the native controls as this works just fine under MSW (although it doesn't under GTK nor probably other ports...). So also add a test erase background handler to the toolbar sample to verify that this does work. Closes #11514.
2009-12-07 06:01 VZ, revision 62803Use white background by default for multiline readonly wxTextCtrl under MSW. The best default behaviour seems to be to use white background for multiline text controls even when they're read-only, as in previous wx versions. Also see #11521 which could be implemented to make this configurable.
- M /wxWidgets/trunk/include/wx/msw/textctrl.h
- M /wxWidgets/trunk/include/wx/textctrl.h
- M /wxWidgets/trunk/src/msw/textctrl.cpp
2009-12-07 04:04 VZ, revision 62802Move wxMSW wxTextCtrl::GetDefaultAttributes() to wxTextCtrlBase. This commit doesn't introduce any changes in the control behaviour, it simply moves the existing method to the base class because it is not MSW-specific. Also implement wxTextCtrlBase::GetClassDefaultAttributes() because if a class implements GetDefaultAttributes() it should implement it as well.
- M /wxWidgets/trunk/samples/dll/dll.bkl
- M /wxWidgets/trunk/samples/dll/dll_my_dll.dsp
- M /wxWidgets/trunk/samples/dll/dll_vc7_my_dll.vcproj
- M /wxWidgets/trunk/samples/dll/dll_vc8_my_dll.vcproj
- M /wxWidgets/trunk/samples/dll/dll_vc9_my_dll.vcproj
- M /wxWidgets/trunk/samples/dll/Makefile.in
- M /wxWidgets/trunk/samples/dll/makefile.bcc
- M /wxWidgets/trunk/samples/dll/makefile.gcc
- M /wxWidgets/trunk/samples/dll/makefile.vc
- M /wxWidgets/trunk/samples/dll/makefile.wat
- M /wxWidgets/trunk/samples/dll/my_dll.cpp
- M /wxWidgets/trunk/samples/dll/my_dll.h
2009-12-07 04:04 VZ, revision 62801Define MY_DLL_BUILDING symbol for dll sample DLL build. This is necessary to properly define MY_DLL_DECL as either WXIMPORT or WXEXPORT depending on whether my_dll.h is included from DLL itself or from outside it. Without this, MSVC generated warnings about inconsistent dll linkage.
- M /wxWidgets/trunk/include/wx/dynlib.h
- M /wxWidgets/trunk/samples/dll/my_dll.cpp
- M /wxWidgets/trunk/src/msw/dlmsw.cpp
2009-12-07 04:04 VZ, revision 62800Add semi-public wxDynamicLibrary::MSWGetModuleHandle(). Rename old private wxGetModuleHandle() function to wxDynamicLibrary:: MSWGetModuleHandle() to allow its use in the dll sample. This fixes the sample compilation with VC6 which lacks GetModuleHandleEx()- related declarations.
2009-12-07 04:04 VZ, revision 62799Correct placement of calling convention keyword: must follow the return type. Using __stdcall before the return type results in a warning with VC6 and an error with VC9, place it after the return type. Also use wxSTDCALL instead of just __stdcall for potentially better compatibility with other compilers.
- M /wxWidgets/trunk/samples/dll/dll.bkl
- M /wxWidgets/trunk/samples/dll/dll_vc7_wx_exe.vcproj
- M /wxWidgets/trunk/samples/dll/dll_vc8_wx_exe.vcproj
- M /wxWidgets/trunk/samples/dll/dll_vc9_wx_exe.vcproj
- M /wxWidgets/trunk/samples/dll/dll_wx_exe.dsp
- M /wxWidgets/trunk/samples/dll/Makefile.in
- M /wxWidgets/trunk/samples/dll/makefile.bcc
- M /wxWidgets/trunk/samples/dll/makefile.gcc
- M /wxWidgets/trunk/samples/dll/makefile.vc
- M /wxWidgets/trunk/samples/dll/makefile.wat
2009-12-07 03:20 VZ, revision 62798Regenerate dll samples makefiles using the correct source file name. The file is called wx_exe.cpp and not dll_user_wx.cpp in the svn, do use the correct name.
- D /wxWidgets/trunk/samples/dll/dll.dsw
- D /wxWidgets/trunk/samples/ribbon/ribbon.dsw
2009-12-07 03:18 VZ, revision 62797Remove a couple of VC6 workspace files for the samples. See r62797.
- D /wxWidgets/trunk/samples/dll/dll_vc7.sln
- D /wxWidgets/trunk/samples/dll/dll_vc8.sln
- D /wxWidgets/trunk/samples/dll/dll_vc9.sln
2009-12-07 02:54 KO, revision 62796Remove the MSVC solution files added with the new dll sample. We don't keep solution files in svn for the other samples, there is no reason for this one to be exceptional.
- M /wxWidgets/trunk/include/wx/osx/cocoa/private.h
- M /wxWidgets/trunk/include/wx/osx/core/private.h
- M /wxWidgets/trunk/include/wx/osx/toplevel.h
- M /wxWidgets/trunk/include/wx/toplevel.h
- M /wxWidgets/trunk/interface/wx/toplevel.h
- M /wxWidgets/trunk/src/osx/cocoa/nonownedwnd.mm
- M /wxWidgets/trunk/src/osx/toplevel_osx.cpp
2009-12-06 17:32 KO, revision 62795Add wxTLW::SetModified to allow apps to set the TLW's dirty state. On Mac this gives us the dot in the close button, not implemented elsewhere yet.
2009-12-06 16:31 VZ, revision 62794Handle deprecated style so we don't assert and then crash.
2009-12-06 03:30 VZ, revision 62793Restore TAB in accelerator string wrong removed by r62791. See #11512.
- M /wxWidgets/trunk/src/common/strconv.cpp
- M /wxWidgets/trunk/tests/mbconv/mbconvtest.cpp
- M /wxWidgets/trunk/tests/test_vc9_test.vcproj
2009-12-06 03:29 VZ, revision 62792Correct two bugs in wxMBConv::FromWChar() with non NUL-terminated strings. The variable "lenChunk" was incorrectly used as the length of the wide string chunk which could result in wrong output. Worse, the output buffer could be overflown for the final chunk because it didn't have to have enough space for the trailing NUL(s) in it. Fix both bugs and added unit tests for them. Based on patch by Kuang-che Wu. Closes #11486.
2009-12-06 03:29 VZ, revision 62791Minor corrections to ToWChar() comment. Don't refer to the non-existent outputBuf parameter and don't imply that the value of dstLen matters to decide whether we really convert or not -- only whether dst pointer itself is NULL or not does. See #11486.
2009-12-06 03:29 VZ, revision 62790Use wxAcceleratorEntry::ToString() for undo/redo accelerator labels. Don't hardcode the string representation of the accelerators, it was inconsistent with the rest of wxWidgets which used '-' while here a '+' was used. Closes #11512.
2009-12-05 20:57 PC, revision 62789Fix wxFD_CLR() definition for Intel compiler under Linux. wxFD_CLR() should be void, not bool. Closes #11517.
- M /wxWidgets/trunk/include/wx/animdecod.h
- M /wxWidgets/trunk/include/wx/bmpcbox.h
- M /wxWidgets/trunk/include/wx/generic/busyinfo.h
- M /wxWidgets/trunk/include/wx/generic/imaglist.h
- M /wxWidgets/trunk/include/wx/generic/infobar.h
- M /wxWidgets/trunk/include/wx/gtk/infobar.h
- M /wxWidgets/trunk/include/wx/gtk/statbox.h
- M /wxWidgets/trunk/include/wx/osx/carbon/evtloop.h
- M /wxWidgets/trunk/include/wx/osx/private.h
- M /wxWidgets/trunk/include/wx/unix/taskbarx11.h
- M /wxWidgets/trunk/src/common/taskbarcmn.cpp
- M /wxWidgets/trunk/src/generic/infobar.cpp
- M /wxWidgets/trunk/src/gtk/combobox.cpp
- M /wxWidgets/trunk/src/gtk/sockgtk.cpp
- M /wxWidgets/trunk/src/gtk/statbox.cpp
- M /wxWidgets/trunk/src/osx/core/cfstring.cpp
- M /wxWidgets/trunk/src/osx/core/printmac.cpp
- M /wxWidgets/trunk/src/osx/core/sockosx.cpp
- M /wxWidgets/trunk/src/osx/core/utilsexc_base.cpp
- M /wxWidgets/trunk/src/osx/listbox_osx.cpp
- M /wxWidgets/trunk/src/osx/textctrl_osx.cpp
- M /wxWidgets/trunk/src/osx/window_osx.cpp
- M /wxWidgets/trunk/src/ribbon/bar.cpp
- M /wxWidgets/trunk/src/ribbon/buttonbar.cpp
- M /wxWidgets/trunk/src/unix/net.cpp
2009-12-05 20:45 PC, revision 62788minor cleanup
- M /wxWidgets/trunk/src/common/graphcmn.cpp
- M /wxWidgets/trunk/src/ribbon/art_msw.cpp
- M /wxWidgets/trunk/src/ribbon/gallery.cpp
2009-12-05 20:29 PC, revision 62787remove unused variables, minor cleanup
2009-12-05 20:26 PC, revision 62786remove -I on nonexistent directory
2009-12-05 20:25 PC, revision 62785remove unnecessary DoGetBestSize
- M /wxWidgets/trunk/include/wx/gtk/button.h
- M /wxWidgets/trunk/include/wx/gtk/checkbox.h
- M /wxWidgets/trunk/include/wx/gtk/radiobut.h
- M /wxWidgets/trunk/include/wx/gtk/spinbutt.h
- M /wxWidgets/trunk/include/wx/gtk/tglbtn.h
- M /wxWidgets/trunk/src/gtk/button.cpp
- M /wxWidgets/trunk/src/gtk/checkbox.cpp
- M /wxWidgets/trunk/src/gtk/radiobox.cpp
- M /wxWidgets/trunk/src/gtk/radiobut.cpp
- M /wxWidgets/trunk/src/gtk/spinbutt.cpp
- M /wxWidgets/trunk/src/gtk/tglbtn.cpp
2009-12-05 19:54 VS, revision 62784simplify Enable()
- M /wxWidgets/trunk/autoconf_inc.m4
- M /wxWidgets/trunk/configure
- M /wxWidgets/trunk/configure.in
- A /wxWidgets/trunk/samples/dll
- A /wxWidgets/trunk/samples/dll/dll.bkl
- A /wxWidgets/trunk/samples/dll/dll.dsw
- A /wxWidgets/trunk/samples/dll/dll_my_dll.dsp
- A /wxWidgets/trunk/samples/dll/dll_vc7.sln
- A /wxWidgets/trunk/samples/dll/dll_vc7_my_dll.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc7_wx_exe.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc8.sln
- A /wxWidgets/trunk/samples/dll/dll_vc8_my_dll.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc8_wx_exe.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc9.sln
- A /wxWidgets/trunk/samples/dll/dll_vc9_my_dll.vcproj
- A /wxWidgets/trunk/samples/dll/dll_vc9_wx_exe.vcproj
- A /wxWidgets/trunk/samples/dll/dll_wx_exe.dsp
- A /wxWidgets/trunk/samples/dll/Makefile.in
- A /wxWidgets/trunk/samples/dll/makefile.bcc
- A /wxWidgets/trunk/samples/dll/makefile.gcc
- A /wxWidgets/trunk/samples/dll/makefile.unx
- A /wxWidgets/trunk/samples/dll/makefile.vc
- A /wxWidgets/trunk/samples/dll/makefile.wat
- A /wxWidgets/trunk/samples/dll/my_dll.cpp
- A /wxWidgets/trunk/samples/dll/my_dll.h
- A /wxWidgets/trunk/samples/dll/README.txt
- A /wxWidgets/trunk/samples/dll/wx_exe.cpp
- M /wxWidgets/trunk/samples/makefile.bcc
- M /wxWidgets/trunk/samples/makefile.gcc
- M /wxWidgets/trunk/samples/makefile.vc
- M /wxWidgets/trunk/samples/makefile.wat
- M /wxWidgets/trunk/samples/samples.bkl
2009-12-05 18:31 VZ, revision 62783Added samples/dll for showing how to use wxWidgets to implement a DLL that is used from another application written with a different toolkit (or different wx version).
2009-12-05 18:31 VZ, revision 62782Implement wxNativeContainerWindow::IsShown() for MSW. Simply use native ::IsWindowVisible() for IsShown() implementation. Closes #11503.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/filename.h
- M /wxWidgets/trunk/interface/wx/filename.h
- M /wxWidgets/trunk/src/common/filename.cpp
- M /wxWidgets/trunk/tests/filename/filenametest.cpp
2009-12-05 18:30 VZ, revision 62781Add support for MSW unique volume names to wxFileName. Recognize the paths starting with "\\?\Volume{GUID}" under MSW and provide a way to test for them. Closes #8874.
2009-12-05 18:24 PC, revision 62780Don't lock global mutex when deleting wxThread to avoid deadlocks. Calling out the user-defined wxThread dtor while holding gs_mutexDeleteThread lock is a bad idea as it may result in deadlocks if the dtor deletes another thread. Only lock the mutex directly before manipulating the data it protects. Thanks to Neno Ganchev. Closes #11501.
2009-12-05 15:25 VZ, revision 62779correct parameter type
2009-12-05 10:05 VS, revision 62778Don't crash in wxActiveXContainer if FindConnectionPoint() failed. This method is supposed to succeed but don't crash by calling Advise() on NULL pointer if it did not.
2009-12-05 02:32 VZ, revision 62777Documented that wxCriticalSection can be used before wxInitialize(), as a global object.
2009-12-03 19:19 JMS, revision 62773Fix wxLogChain (and wxLogWindow deriving from it) broken by wxLog changes. wxLogChain::DoLogRecord() only called DoLogRecord() on the old logger but not the new one when the new logger was the same object as wxLogChain itself as is always the case for wxLogWindow. The result was that nothing was logged into the window.
2009-12-03 19:08 JMS, revision 62772Exit wxPropertyGrid::RecalculateVirtualSize() immediately if it was called before the grid state was initialized.
2009-12-03 18:20 PC, revision 62771Handle the rare case where wxPropertyGrid::HandleCustomEditorEvent() may receive event before the grid state has been initialized.
- M /wxWidgets/trunk/include/wx/generic/listctrl.h
- M /wxWidgets/trunk/include/wx/osx/carbon/private.h
- M /wxWidgets/trunk/include/wx/osx/cursor.h
- M /wxWidgets/trunk/include/wx/osx/frame.h
- M /wxWidgets/trunk/include/wx/osx/statusbr.h
- M /wxWidgets/trunk/include/wx/ribbon/bar.h
- M /wxWidgets/trunk/include/wx/ribbon/buttonbar.h
- M /wxWidgets/trunk/include/wx/ribbon/page.h
- M /wxWidgets/trunk/include/wx/ribbon/panel.h
- M /wxWidgets/trunk/include/wx/ribbon/toolbar.h
- M /wxWidgets/trunk/include/wx/textctrl.h
- M /wxWidgets/trunk/include/wx/window.h
2009-12-03 17:26 VZ, revision 62770make access for virtuals match base
2009-12-03 17:26 VZ, revision 62769Suppress errors from static bitmap page of widgets sample. Don't fail loudly if the image file is not found (which can happen under Unix if the image sample wasn't built yet or if we're not running the sample from its own directory) but just don't create the bitmap.
Don't assert if the path is not absolute in wxFileDialog::SetPath(). Remove the assert added in r62101 (see #10917), it was wrong as the other ports do not assert in this case. Instead, just ensure that the path we use with the GTK+ native chooser is absolute.