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

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2010-02-03 06:22 KO, revision 63364

Add sanity check on the item number.

2010-02-02 23:19 JS, revision 63358

Fixes for incorrect selection, extra newline insertion when undoing deletion of selection, insufficient refresh for operations on last line, HasCharacter/ParagraphAttributes bug.

2010-02-02 23:19 JS, revision 63357

Fixes for incorrect selection, extra newline insertion when undoing deletion of selection, incorrect SetScrollbar optimization, insufficient refresh for operations on last line, HasCharacter/ParagraphAttributes bug.

2010-02-02 16:19 JMS, revision 63356

Do not clear property selection when adding new properties, but instead correct positions of any open editor controls.

2010-02-02 12:23 JS, revision 63355

Don't crash if there's no top window.

2010-02-01 13:07 JS, revision 63345

Simplify SetSelectionRange and make consistent with SetSelection. Fix a bug that returns true for character and paragraph style tests if no characters or paragraphs were found. Fix SetSelection to position caret at end.

2010-02-01 11:45 JS, revision 63344

Simplify SetSelectionRange and make consistent with SetSelection. Fix a bug that returns true for character and paragraph style tests if no characters or paragraphs were found. Fix SetSelection to position caret at end.

2010-02-01 09:23 SC, revision 63343

adapting to new API variant

2010-02-01 02:20 KO, revision 63340

nschars is never used for the wxEVT_CHAR case, so don't assign it a different value for this case.

2010-02-01 01:48 KO, revision 63339

Use the correct type to fix Tiger compilation.

2010-01-31 19:31 VZ, revision 63338

Update bakefile.m4 to bakefile 0.2.8 which was used for makefiles. When a new bakefile version is used, build/aclocal/bakefile.m4 must be updated and configure must be regenerated to take into account the changes in autoconf_inc.m4, otherwise incorrect makefiles will be produced (for example, symbolic links for shared libraries were not created in Unix build this time).

2010-01-31 19:15 JMS, revision 63337

Added nominal wxPG_PROP_READONLY support for editor controls other than wxTextCtrl-based ones

2010-01-31 19:14 JMS, revision 63336

Added command to set wxPG_PROP_READONLY in the propgrid sample

2010-01-31 19:13 JMS, revision 63335

Fixed value column rendering for properties which do not create editor control when selected

2010-01-31 16:19 SC, revision 63334

fix for sleep mode on displays, fixes #11557

2010-01-31 15:42 SC, revision 63333

avoiding catching incorrect shortcuts, see #11676

2010-01-31 12:01 SC, revision 63332

supporting clipboard command shortcuts on osx_cocoa as well, simplifying code

2010-01-29 14:07 VZ, revision 63306

Disable wxUSE_FSWATCHER under Unix if neither inotify nor kqueue is available. Don't define wxUSE_FSWATCHER as 1 in configure if we can't implement it. Also add a check to wx/unix/chkconf.h to verify that we didn't end up with an inconsistent configuration somehow. Closes #11670.

2010-01-28 22:46 MW, revision 63303

Fix for file length fixup.

2010-01-28 22:46 MW, revision 63302

Fix for file length fixup.

2010-01-28 22:38 MW, revision 63301

Allow large file tests to run by default on more platforms.

2010-01-28 22:36 MW, revision 63300

Backport stdio large file support for VC++ and mingw.

2010-01-28 14:49 SC, revision 63299

storing modal returncode correctly for carbon

2010-01-28 14:48 SC, revision 63298

make sure modality is reflected correctly when rerouted from window-modal to app-modal

2010-01-28 13:30 CE, revision 63297

fix version as per email

2010-01-28 13:07 VZ, revision 63296

Disable wxUSE_OWNER_DRAWN for wxUniv to fix the build. wxMenuItem in wxUniv doesn't even use wxOwnerDrawn but linking in ownerdrwcmn.cpp is enough to break the DLL build of wxUniv at least under MSW as it references symbols normally defined in msw/ownerdrw.cpp which is not part of wxUniv. Fix this by simply disabling wxUSE_OWNER_DRAWN under wxUniv for now as it's unused anyhow.

2010-01-28 11:14 CE, revision 63295

bakefile 0.2.8 and wxw2.8.11

2010-01-28 10:54 SC, revision 63294

adding window-modal message box sample

2010-01-28 10:27 CE, revision 63293

version to 2.8.11

2010-01-28 09:28 SC, revision 63292

setting correct alertType

2010-01-28 05:06 KO, revision 63291

Get ShowWindowModal behavior working under OS X Cocoa for file, dir and message dialogs.

2010-01-27 00:04 VZ, revision 63282

Never block in wxSocket::Peek(). Peek() is not expected to block so ensure that it doesn't, independently of the currently used socket flags, by using wxSOCKET_NOWAIT. See #11528.

2010-01-26 22:09 JMS, revision 63281

wxPGProperty::GetHintText() function body was missing 'inline' keyword

2010-01-26 18:44 JMS, revision 63280

Fixed wxPGGlobalVars export declaration

2010-01-26 15:36 SC, revision 63279

optimizing creation of glcontexts, less flicker

2010-01-26 15:24 JJ, revision 63278

Fixes for compilation on OpenVMS platforms

2010-01-26 13:43 VZ, revision 63277

Add wxTreeCtrl::SelectChildren() method. Add MSW and generic implementation, documentation and change to the sample showing it. Closes #11620.

2010-01-26 13:39 VZ, revision 63276

Try to prevent users from forgetting to include wx.rc from their resources. Document that some of the standard cursors are defined in this file. Also add a (hopefully) helpful assert if loading one of such cursors failed. Closes #11424.

2010-01-26 13:33 VZ, revision 63275

Don't pass logs at unknown levels to wxLog::DoLogRecord() from wxLogGui. This results in an assert in DoLogText() which is not implemented in the base class but ends up being called as DoLogTextAtLevel() doesn't know how to handle non-standard log levels otherwise. This assert happened if you simply called wxLogMessage(wxLOG_User, ...) in the program. Just ignore messages at unknown log levels instead in wxLogGui, by definition it can't handle them anyhow. See also r63167.

2010-01-26 13:33 VZ, revision 63274

Another compilation fix for wxMSW without PCH. Need to include <commctrl.h> as we use HIMAGELIST and related functions now. See #11595.

2010-01-26 13:16 VZ, revision 63273

Implement RequestUserAttention() for wxOSX/Cocoa. Simply use NSApplication:requestUserAttention to do it.

2010-01-26 10:01 VZ, revision 63272

Compilation fixes for PCH-less build after ownerdraw-refactor branch merge. Forward declare more classes, in particular use tagRECT which can be forward declared, instead of RECT typedef in public headers. Also include more header in #ifndef WX_PRECOMP case. See #11595.

2010-01-26 10:01 VZ, revision 63271

Avoid g++ warning about unhandled wxFONTFAMILY_XXX value in a switch. Add wxFONTFAMILY_UNKNOWN case to the switch as it will allow us to be warned if we add a new family in the future and forget to update this code to take it into account.

2010-01-26 10:01 VZ, revision 63270

No real changes, just don't initialize extern variable to avoid g++ warning. g++ warns about initialized extern variables so separate the declaration from the initialization to avoid this warning.

2010-01-26 10:00 VZ, revision 63269

Make wxWindow::MSWGetThemeColour() const. There doesn't seem to be any reason for this method to not be const.

2010-01-26 10:00 VZ, revision 63268

Compilation fix for wxUniv. We need explicit casts to wxWindow in wxWindowMSW code.

2010-01-25 23:27 SC, revision 63266

simplifying code, removing outdated API

2010-01-25 23:24 SC, revision 63265

adding note for correct wheel params

2010-01-25 20:19 JS, revision 63264

Added symbol for wxEVT_WIZARD_PAGE_SHOWN

2010-01-25 19:48 JS, revision 63263

Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps a chance to initiate processing after a page is presented.

2010-01-25 19:47 JS, revision 63262

Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps a chance to initiate processing after a page is presented.

2010-01-25 18:12 SC, revision 63261

better wheel support

2010-01-25 18:12 SC, revision 63260

make sure we can override GetModality

2010-01-25 14:27 SC, revision 63259

adding wxWindow::Show in order to make the sheet showing its children as well

2010-01-25 14:26 SC, revision 63258

fixing building on iphone

2010-01-25 12:32 JJ, revision 63257

Update compile support for OpenVMS

2010-01-25 00:28 KO, revision 63254

Fix mistake, though this assert is unfortunate since now FindString("whatever") will always assert under OS X Cocoa, even when it would find and return the position correctly.

2010-01-24 20:09 SC, revision 63253

supporting auto-rotate for translucent statusbar

2010-01-24 15:15 VZ, revision 63252

Compilation fix after ownerdraw-refactor branch merge. Don't use HDC in public headers, it may not be declared there. Use WXHDC instead even if this means having ugly casts. This fixed mingw32 compilation (see #11595).

2010-01-24 12:51 VS, revision 63251

Fixed dialog units <-> pixels conversion. The computation is now identical to Windows native one. To achieve this, MSDN-recommended GetTextExtent() call is used instead of GetCharWidth(). wxMulDivInt32() is used instead of integer arithmetics to achieve correct rounding. Use toplevel parent's font instead of window's own. This makes more sense, as dialog units are defined for TLWs, not individual subcontrols. Also fixed wxMSW's wxButton::GetDefaultSize() to compute dialog units correctly.

2010-01-24 12:51 VS, revision 63250

Determine wxButton size correctly in wxMSW. Instead of using default size for default GUI font, use the default font for this dialog's current font.

2010-01-24 12:33 VZ, revision 63249

Fix bug in wxStringOutputStream unit test. We wrote an extra NUL byte to the stream and, unsurprisingly, contents of its buffer didn't match the original string resulting in the test failure. Also get rid of a #if wxUSE_UNICODE.

2010-01-24 12:33 VZ, revision 63248

Override IsSeekable() in wxString{Input,Output}Stream to return true. These streams are seekable but somehow IsSeekable() was never overridden for them resulting in test failures in Input_SeekI().

2010-01-24 12:33 VZ, revision 63247

Document that wxComboBox::Dismiss() and Popup() generate events. Currently these functions generate events in both of the existing implementations (GTK and MSW) so it is simpler to let them to continue to do it but this must at least be documented as this is probably unexpected by users.

2010-01-24 11:13 VZ, revision 63246

Correct UTF-32BE BOM detection in wxConvAuto. On the fly detection of the BOM was wrongly implemented for UTF-32BE in r63064 and returned BOM_None for it if we tried to read exactly 2 bytes. Fix this by returning BOM_Unknown if the first 2 bytes are NUL.

2010-01-24 11:13 VZ, revision 63245

Correct bug with returning 0 for non-empty input from wxConvAuto::ToWChar(). Since the changes of r63064 we could return 0 when asked to convert a non-empty buffer containing only a BOM. This confused the logic in wxTextInputStream::NextChar() and was generally unexpected so now return wxCONV_FAILED in this case.

2010-01-24 11:13 VZ, revision 63244

Check the result of ToWChar() call in wxTextInputStream::NextChar() better. The logic in this function depends on ToWChar() working correctly so check that it doesn't return obviously wrong results, e.g. 0 output length for non-empty input. This was mostly done to detect the problem in wxConvAuto currently but it could also be useful with user-defined conversions and shouldn't have a big performance effect on wxTextInputStream so leave these checks in to facilitate debugging in the future.

2010-01-24 10:13 VZ, revision 63243

Replace wxLogWarning()s in wxOSX wxComboBox code with asserts. This incidentally fixes compilation when not using PCH as wx/log.h was not included but is also more correct as the messages meant for the programmer, and not the user, should be given using asserts and not wxLog. Also correct some asserts messages. In particular, don't mention the function name in the message itself as it's already shown by the assert and using it in the string itself isn't useful and simply introduces the risk of forgetting to update it after refactoring, as happened here in r63105.

2010-01-24 02:00 VZ, revision 63242

Add wxComboBox::Popup() and Dismiss() to manually show or hide its popup. Add implementations for wxMSW and wxGTK. Closes #11506.

2010-01-24 02:00 VZ, revision 63241

No changes, just remove the strange "#if 1". This was apparently unintentionally added in r15050 to all files of the widgets sample and somehow survived in this one only until now.

2010-01-24 02:00 VZ, revision 63240

Fix sending of wxEVT_COMMAND_LIST_COL_DRAGGING events in wxMSW wxListCtrl. We were not getting HDN_TRACK from the system because apparently it is not sent for header controls with HDS_FULLDRAG style which is used by default by the native list control. A possible solution would be to forcefully unset this style but this would make the UI look old fashioned and less intuitive so instead send these DRAGGING events from HDN_ITEMCHANGING. Closes #9471,

2010-01-24 02:00 VZ, revision 63239

Move wx/evtloop.h from GUI_CMN_HDR to BASE_CMN_HDR in files.bkl. And rebake. Now that wxEventLoop can be used in wxBase as well, we need this file to be installed as part of wxBase too. Closes #11617.

2010-01-24 02:00 VZ, revision 63238

Fix wxHTTPStream::Eof() to return true for empty HTTP resources. Eof() never returned true when attempting to read an empty resource before. Closes #11596.

2010-01-24 01:59 VZ, revision 63237

Use a helper wxNEEDS_DECL_BEFORE_TEMPLATE symbol in wxStrcoll() workaround. The condition for which this workaround is needed has already changed once (see #11605) and may change again in the future as we test with more compilers so use a symbolic name for it. No real changes otherwise.

2010-01-24 01:59 VZ, revision 63236

Apply workaround for wxStrcoll() template for g++ to 3.4 too. At least mingw32 version of g++ 3.4.5 needs the same workaround to be able to compile wx. Closes #11605.

2010-01-23 23:45 KO, revision 63235

Fix for generic implementation.

2010-01-23 22:17 KO, revision 63234

Fix for non-Mac builds.

2010-01-23 21:10 KO, revision 63233

Remove assert that was used during testing while changing style flags.

2010-01-23 21:06 KO, revision 63232

Start on ShowWindowModal for OS X Cocoa. Not working properly as children do not display.

2010-01-23 16:25 VZ, revision 63231

Output wxT() and not _T() in code generated by wxrc. Also use wxT() in wxrc.cpp itself, just to be sure that there are no other occurrences of _T() left. Closes #11649.

2010-01-23 14:44 VZ, revision 63230

Add virtual wxSizer::DoInsert() to replace Insert(). This allows to avoid problems with hiding all but the overridden overloads of Insert() in wxSizer-derived classes, see #11616, without having to explicitly write any using statements. Keep Insert(size_t, wxSizerItem) virtual to allow the existing code overriding it to keep working.

2010-01-23 14:22 VZ, revision 63229

Allow to not create wxPaintDC in EVT_PAINT handler in wxMSW. Failure to create a wxPaintDC in EVT_PAINT handler resulted in many serious and difficult to debug problems under wxMSW. We used to document that the user shouldn't do it but this wasn't enough (see #11648). We could also assert if we detected that a handler didn't create a wxPaintDC but it seems better to just handle this case gracefully for consistency with the other platforms. Add wxDidCreatePaintDC global variable which is reset before generating wxPaintEvent and set to true when ::BeginPaint() is called from wxPaintDC ctor and validate the update region of the window ourselves if it wasn't set (meaning that wxPaintDC wasn't created). Update the documentation to emphasize the link between EVT_PAINT handlers and wxPaintDC but without saying that wxPaintDC object must always be created in the handler as this is not true any more.

2010-01-23 14:22 VZ, revision 63228

Don't crash when input is empty in wxFileConfig(wxInputStream) ctor. Fix crash due to dereferencing a NULL pointer when the input buffer in wxFileConfig ctor is empty. Closes #11636.

2010-01-23 14:22 VZ, revision 63227

Fix off by 1 errors in owner-drawn menu drawing code in wxMSW. The label was offset by 1 pixel vertically and the check marks were 1 pixel too wide compared to the native ones under XP, correct this. Closes #11420 (again).

2010-01-23 14:22 VZ, revision 63226

Improve wxCheckListBox appearance under Vista/Win7. Fix the items alignment and also code cleanup: fix indentation, remove magic numbers &c. Closes #10286.

2010-01-23 14:21 VZ, revision 63225

Correct drawing of check marks for owner-drawn items without bitmaps. Standard check mark was not drawn correctly for check/radio items without bitmaps. Closes #11480.

2010-01-23 14:21 VZ, revision 63224

Correct alignment of menu accelerator strings in owner-drawn menus. Draw them right-aligned as the native menus do. Closes #11479.

2010-01-23 14:21 VZ, revision 63223

Use theme functions for drawing owner-drawn menus. This makes the menu items with custom attributes or bitmaps look more native, especially on post-XP systems. Closes #11420.

2010-01-23 14:21 VZ, revision 63222

Fix calculation of the margins for owner-drawn menu items. Take into account the widths of the bitmaps properly. Closes #11268.

2010-01-23 14:21 VZ, revision 63221

Set up menu bitmaps correctly for checkable items. We must not set MENUITEMINFO::hbmpItem for the checkable items as it would then be used for both checked and unchecked state. Closes #11244.

2010-01-23 14:21 VZ, revision 63220

Refactor owner-drawing code. Only keep common code in the base class and extract all menu/listbox-specific stuff into derived classes. This makes the code cleaner and more maintainable but introduces some problems in wxCheckListBox appearance which will be fixed by the next patch. Closes #10635.

2010-01-23 14:20 VZ, revision 63219

Return old, not new, selection from wxMSW wxNotebook::ChangeSelection(). The function is documented to return the old selection and not the new one, so correct it to behave as expected. Closes #11646.

2010-01-22 23:01 VZ, revision 63218

Fix harmless g++ 4.3 warning about "suggested braces".

2010-01-22 23:01 VZ, revision 63217

Don't place NULL pointers in the GDK window array in GTKGetWindow(). This avoids an assert in GTKUpdateCursor() later on. Backport of r60458 from trunk.

2010-01-22 22:24 RD, revision 63213

Print the configure command

2010-01-22 22:24 RD, revision 63212

Use DESTDIR for installing to a location other than the prefix. Fixup install_name_tool usage.

2010-01-22 16:52 JJ, revision 63204

Correction on previous commit: statement order corrected

2010-01-22 08:55 JJ, revision 63203

Get wxDC defined when nescessary

2010-01-20 03:07 KO, revision 63197

Handle the case of NSNotFound result properly.

2010-01-20 01:17 VZ, revision 63195

Disable size grip for TLW status bar if TLW is not resizeable. wxSTB_SIZEGRIP is part of default status bar style but it doesn't make sense for non-resizeable TLWs, so turn it off in this case.

2010-01-19 23:02 VS, revision 63194

Fix wxMulDivInt32() to round the result like win32 MulDiv() does.

2010-01-19 18:53 VS, revision 63193

Make ConvertPixelsToDialog() and ConvertDialogToPixels() const.

2010-01-19 17:32 VS, revision 63192

Don't query metrics that won't be used. If ConvertPixelsToDialog() or ConvertDialogToPixels() was called with one of the two input values set to -1, the respective font metric was queried needlessly.

2010-01-19 15:47 VS, revision 63191

Support XHTML &apos; entity.

2010-01-19 14:49 VZ, revision 63190

Further enhancement to the samples overview page. Add links to samples sources in svn to all the individual samples and be even more explicit about their location on the local disk. Move the paragraph explaining the samples location further below -- but <hr> still doesn't work somehow.

2010-01-19 14:02 VZ, revision 63189

Explain the location of samples better in the samples overview page. Don't mention controls sample, just the widgets one, as the latter is much richer and easier to understand.

2010-01-19 14:02 VZ, revision 63188

Don't set initial size as min size for top level windows in wxMSW. This was accidentally done because wxWindowBase::CreateBase() didn't recognize the window as being top level as it was called before the window was appended to wxTopLevelWindows list. Fix this by doing the same thing wxGTK already did: just call wxTopLevelWindows.Append() before CreateBase().

2010-01-19 14:01 VS, revision 63187

Add wxThreadEvent::SetPayload<T>(). This makes it possible to easily pass custom data between threads, in type-safe way (thanks to internal use of wxAny). This adds sizeof(wxAny)==16+sizeof(void*) overhead to wxThreadEvent, but I think it's cheaper than doing malloc/free on copying.

2010-01-19 14:01 VS, revision 63186

Don't make full copy of string in wxThreadEvent::Clone(). It's enough to do it once to ensure thread-safety. Doing it twice (once in copy ctor called by Clone(), once in Clone() itself) only wastes time.

2010-01-18 12:05 SC, revision 63182

moving GetPageInfo to later stage, closes #11494

2010-01-18 11:56 SC, revision 63181

switching to LaunchServices implementation, fixes #11508

2010-01-18 11:09 SC, revision 63180

fixing type for 64 bit, closes #11550

2010-01-18 10:45 SC, revision 63179

avoiding Insert shadowing superclass methods, closes #11616

2010-01-18 10:12 SC, revision 63178

setting correct 'default' for m_filterIndex, closes #11541

2010-01-18 10:03 SC, revision 63177

applying patch, closes #11309

2010-01-18 09:56 SC, revision 63176

setting correct refcon in menus (was incorrectly changed to menuimpl), fixes #11611

2010-01-18 09:52 SC, revision 63175

avoiding double define warning

2010-01-18 01:29 VZ, revision 63174

Document wxCENTRE style for wxMessageDialog. This is currently only implemented for MSW but we could implement it for the other ports in the future.

2010-01-18 01:29 VZ, revision 63173

Don't set stretchable spacers size to 0, this doesn't work so use 1 instead. If the toolbar is not big enough for its fixed-size contents, we set the size of the tools corresponding to stretchable spacers to 0 but this didn't really work and resulted in bad toolbar appearance even after resizing it to be big enough (as could be seen in samples/xrc). So set the spacers size to at least 1 to ensure that we do resize them correctly.

2010-01-18 01:29 VZ, revision 63172

Add support for stretchable spacers to XRC wxToolBar handler. Notice that currently only stretchable spacers are supported via separator-like "space" XRC element. If we ever add support for fixed spacers in the toolbar we should do it via its fixed sub-element, e.g. they would be specified with <fixed>1</fixed> in XRC file. Also use spacers instead of separator in the XRC sample and ensure that the toolbars in it are resized.

2010-01-18 01:28 VZ, revision 63171

Correct test for parent being on screen in wxTLW::DoCentre(). The old test was needlessly complicated, didn't take all cases into account and had a typo in it which prevented it from working in half of the cases which it did [try to] take into account. Correct this by simply checking if the parent rectangle intersects the visible display area at all. Also simplify the code a little by checking for the window being maximized from the beginning as centering a maximized window on either screen or parent is a no-op.

2010-01-18 01:28 VZ, revision 63170

Invalidate stored wxTreeItemIds when the corresponding item is deleted in wxMSW. m_htSelStart and m_htClickedItem stored in wxTreeCtrl must be invalidated when the item they point to is deleted (which also happens when all the items are deleted), otherwise the selection doesn't behave correctly after doing it. Closes #11619.

2010-01-18 01:28 VZ, revision 63169

Generate wxEVT_KEY_DOWN events for navigation keys in wxMSW wxTreeCtrl. We only generated wxEVT_COMMAND_TREE_KEY_DOWN events for the keys which can be used for tree control navigation and which are handled specially in the code but not the wxEVT_KEY_DOWN ones. This was inconsistent with the other keys and incompatible with wx 2.8 and other ports, so generate both events unless the wxEVT_KEY_DOWN one was handled by the user code. Closes #11621.

2010-01-18 01:28 VZ, revision 63168

Show the more metrics for the selected font in the sample. Show the result of wxDC::GetChar{Width,Height}() and the font size in pixels in addition to the font size in points.

2010-01-18 01:28 VZ, revision 63167

Don't call base class version unnecessarily in wxLogWindow::DoLogTextAtLevel(). This is unnecessary as the log message is already passed to the previous logger by the base class wxLogChain::DoLogRecord() implementation. Worse, it's actively harmful as it resulted in asserts in wxLog::DoLogText() when built with WXWIN_COMPATIBILITY_2_8==0. Closes #11526.

2010-01-18 01:28 VZ, revision 63166

No changes, just fix an unused parameter warning. Fix warning in mingw32 wxMSW build.

2010-01-18 01:28 VZ, revision 63165

Add wxIsascii() function and use it instead of isascii() in our code. isascii() is non-ANSI and is not available under all platforms. While we currently define it ourselves in wx/wxcrtbase.h in this case, it's not a good idea as this can't be easily done correctly for all platforms so start transitioning away from using isascii() by adding wxIsascii() and using it in our own code. The only remaining occurrences of isascii() are in Scintilla code which we probably don't want to modify.

2010-01-18 01:27 VZ, revision 63164

Only disable use of non-ANSI functions in strict ANSI mode under Windows. The changes of r62518 fixed compilation of wx headers in g++ strict ANSI mode (enabled by th use of -ansi or -std=c++{98,0x} options) with mingw32 but broke it when using g++ in ANSI mode under Unix. The problems arose at least due to redeclaration of isascii() with different exception specifier and due to the lack of wxCRT_StrdupA() definition in the library. Fix this by simply not disabling the use of non-ANSI functions such as isascii() and strdup() under Unix as they are still available in the headers by default because of _GNU_SOURCE predefined by g++. Notice that if _GNU_SOURCE is explicitly undefined, compilation would probably still be broken. To fix this we might check whether __USE_SVID is defined under Linux. Unfortunately doing tests in configure is not an answer as wxWidgets might not be compiled with the same -std option as the programs using it, so there is no obviously correct way to fix this. See #11374.

2010-01-17 13:10 JMS, revision 63163

Added entry on generic wxDatePickerCtrl keyboard navigation fix

2010-01-16 05:14 PC, revision 63162

update docs for wxMAXIMIZE on GTK

2010-01-15 18:19 JMS, revision 63161

When checking whether the parent has wxTAB_TRAVERSAL style, take into account that the wxComboCtrl can be part of a composite control

2010-01-15 18:09 PC, revision 63160

honor wxMAXIMIZE frame style, fixes #11631

2010-01-15 17:06 JMS, revision 63158

When checking whether the parent control has wxTAB_TRAVERSAL, take into account that the wxComboCtrl can be part of a composite control, such as generic wxDatePickerCtrl (fixes #11630).

2010-01-14 23:51 VZ, revision 63157

More wx(Flex)GridSizer constructors documentation improvements. Mention that the number of columns may also be automatically deduced. Don't duplicate the same documentation in wxGridSizer and wxFlexGridSizer as this inevitably results in forgetting to update one of the versions (as in the previous commit). Instead, just link to wxGridSizer from wxFlexGridSizer.

2010-01-14 23:43 VZ, revision 63156

Minor corrections to wxFlexGridSizer ctor documentation. Be more clear about what does it mean to specify the number of rows. Don't use @code for inline expressions. Remove an extraneous "it".

2010-01-14 20:04 SC, revision 63155

fixing comments, making sure sound always gets the completion call in the same thread as it was created, otherwise iphone sometimes crashes

2010-01-14 19:02 VZ, revision 63154

No real changes, just fix a typo in comments and documentation. Use "surprising" instead of (common) "surprizing" misspelling. Closes #11627.

2010-01-13 19:29 JMS, revision 63139

Fixed bug: wxPGEditor::SetControlAppearance() was calling SetValueToUnspecified() unconditionally, disregarding value of 'unspecified' argument.

2010-01-12 16:51 VZ, revision 63138

Add wx/osx/textentry.h to the list of OS X headers. Fix problem with "make install" which didn't install this header. Backport of r63137 from HEAD. Closes #11624.

2010-01-12 16:47 VZ, revision 63137

Check for a function existing in all libpng releases in configure. We tested for png_check_sig() which was deprecated and is not available in the latest libpng 1.4 any more. Just use another, not deprecated and not new, function for the test. See #11625.

2010-01-12 16:47 VZ, revision 63136

Add wx/osx/textentry.h to the list of OS X headers. Fix problem with "make install" which didn't install this header. Closes #11624.

2010-01-11 15:19 SC, revision 63135

adding protocol support for 10.6

2010-01-10 02:52 KO, revision 63129

Remove duplicate fields in wxTextCtrl / wxTextEntry. Fixes #11618.

2010-01-10 01:57 RD, revision 63116

Lots of build tweaks needed for building wxPython releases. Allow prefix and installdir to be different, update the install_name before lipo on the Mac, etc.

2010-01-10 01:48 RD, revision 63115

Use GraphicsContext (if available) for drawing in SurfaceImpl::AlphaRectangle. Fixes #10542.

2010-01-10 01:40 RD, revision 63114

Use GraphicsContext (if available) for drawing in SurfaceImpl::AlphaRectangle. Fixes #10542.

2010-01-09 20:56 KO, revision 63106

Rebake.

2010-01-09 20:50 KO, revision 63105

Implement native OS X ComboBox for OS X Cocoa, and implement wxTextEntry methods to share code between wxComboBox and wxTextCtrl.

2010-01-09 18:57 VZ, revision 63104

Restore default WM_ERASEBKGND handling for wxMDIParentFrame. We pretended that we erased the background ourselves but actually we did not. Just let DefWindowProc() do whatever it does by default to fix the problem with wrong toolbar background colour since r62971. Also removed the unused and unneeded WM_SIZE handler as well. Closes #11607.

2010-01-09 18:39 VZ, revision 63103

Minor fixes and enhancements to wxWindowID documentation. Document NewControlId() more precisely. Fix various spelling and grammar problems. Closes #11613.

2010-01-08 19:20 KO, revision 63100

Rebake.

2010-01-08 19:19 PC, revision 63099

for file load/save, always try wxImage first, fallback to pixbuf

2010-01-08 05:33 PC, revision 63098

fix broken #elif

2010-01-08 05:05 PC, revision 63097

fix broken #elif

2010-01-08 02:29 KO, revision 63096

Support mouse click through as otherwise clicking inside an inactive window causes us to lose the first mouse down, unlike with MSW.

2010-01-07 20:43 JMS, revision 63095

Improved documentation for wxPGProperty::DoSetAttribute()

2010-01-07 20:37 JMS, revision 63094

Fixed deprecation message (brings include file in line with the the interface)

2010-01-07 20:35 JMS, revision 63093

Do not use deprecated property attribute wxPG_ATTR_INLINE_HELP (fixes #11605)

2010-01-07 20:31 JMS, revision 63092

Fixed a deprecation message

2010-01-07 19:30 PC, revision 63091

remove unused function GetGdkVisual()

2010-01-07 19:16 PC, revision 63090

defer creating bitmap representation until it is needed

2010-01-07 14:16 VZ, revision 63089

Improve hit detection in wxMSW wxTreeCtrl with wxTR_FULL_ROW_HIGHLIGHT style. When wxTR_FULL_ROW_HIGHLIGHT is used, the item visually takes up the entire breadth of the window so clicking both to the left or to the right of the item should have the same effect as clicking on it. So add a MSWIsOnItem() helper which tests for whether a point is above the item correctly and use it in order to: 1. In multi selection mode, allow clicking anywhere to select the item(s) when Ctrl or Shift is pressed (Closes #11598). 2. Generate activation event when clicking to the right of the item too (Closes #11602). 3. Detect item bounds correctly in WM_LBUTTONUP handler (although it's not really clear what does this code do and hence what problem does this fix...).

2010-01-07 14:15 VZ, revision 63088

German translations update from Thomas Krebs. Closes #11562.

2010-01-07 14:15 VZ, revision 63087

Fix typos in IMediaPlayer2 and INSPlay interfaces declarations. Fix missing/extraneous parentheses. Closes #11600.

2010-01-06 23:02 KO, revision 63085

Forward port 2.8 fix.

2010-01-06 03:22 KO, revision 63083

Fix another line somehow missing from the wxGraphicsBitmap forward port.

2010-01-05 19:27 SC, revision 63079

added zlib directly to dynamic targets

2010-01-05 18:53 PC, revision 63078

remove never-implemented palette support

2010-01-05 17:42 JMS, revision 63077

Call virtual ctrl->GetDefaultAttributes() instead of static GetClassDefaultAttributes()

2010-01-05 14:55 SC, revision 63075

added zlib directly to dynamic targets

2010-01-05 14:54 SC, revision 63074

add zlib only in dynamic build targets

2010-01-05 13:56 VZ, revision 63072

Brazilian Portuguese translations updae from Allann Jones. Closes #11597.

2010-01-04 17:07 JMS, revision 63066

Allow wxPropertyGridInterface::EnableProperty() to work even if property->GetGrid() returns NULL.

2010-01-04 13:51 VZ, revision 63065

Add assert checking that window has no event handlers when destroyed. Forgetting to pop custom event handlers pushed onto the window before it is destroyed will result in a crash later on, so try to detect this immediately with an assert. We might want to forcefully pop them off too, this could result in memory leaks but would be still better than crashing. Closes #11533.

2010-01-04 13:22 VZ, revision 63064

Fix wxConvAuto behaviour when it is used by wxTextInputStream. wxConvAuto implicitly supposed that the chunk of data passed to it for translation was big enough to allow it to at least detect the BOM from it. However this isn't necessarily the case and never is with wxTextInputStream which reads the bytes one by one. Fix this by waiting until we have enough data to be able to detect the BOM. This still doesn't fix the problem with streams without BOM and the corresponding unit test still fails -- it will need to be fixed at the level of wxTextInputStream itself later but handling correctly the cases when a BOM is present is already better than before. See #11570.

2010-01-04 13:22 VZ, revision 63063

Make calling wxLog::IsAllowedTraceMask() safe during static init time. Although using wxLog during statics initialization is not recommended, it may still happen, possibly indirectly so make it work correctly by using an accessor function for the array of trace masks which ensures that this array is always correctly initialized before being used. Closes #11592.

2010-01-04 13:22 VZ, revision 63062

Compilation fix for VC6 after r63061. VC6 doesn't support empty struct initializers apparently.

2010-01-04 12:05 VZ, revision 63061

Correctly parse times without seconds in wxDateTime::ParseTime(). This was always supposed to work but never did because of a typo in the "24 hour format without seconds" format specification. Fix this by removing the extra "%S" from it and add a test for this case.

2010-01-04 11:59 VZ, revision 63060

Don't dereference invalid iterator in wxDateTime::ParseDate(). If the string passed to this method contained only spaces (possibly 0 of them, i.e. was empty) we would dereference the end string iterator. Fix this by adding an explicit test for "p != pEnd".

2010-01-04 11:08 SC, revision 63059

fixing include type

2010-01-04 08:53 SC, revision 63057

adding stc support

2010-01-04 08:52 SC, revision 63056

adding kqueue define for xcode builds

2010-01-04 08:50 SC, revision 63055

fixing include types

2010-01-04 02:57 KO, revision 63053

Get the OS X Cocoa native combobox building by having the native code compile if wxOSX_USE_NATIVE_COMBOBOX is defined. It must be explicitly enabled by adding that define to the build flags as the native implementation is mostly just stubs right now.

2010-01-04 01:45 KO, revision 63052

Rebake from clean wx tree.

2010-01-04 00:59 KO, revision 63051

Don't use a destroy event handler to disconnect the native control's delegate as the destroy event propagates and can cause the TLW to remove its delegate at unexpected times, such as when a child control is destroyed but the TLW remains active. Instead, do it in response to the Destroy() call.

2010-01-03 23:52 KO, revision 63050

Create a text measuring context until a real context is assigned, this allows things like text measurement code using wxMemoryDC to work on Mac.

2010-01-03 20:58 SC, revision 63049

correcting error message

2010-01-03 19:55 SC, revision 63048

fixing name collision ocuring in a specific script runner

2010-01-03 19:29 VS, revision 63045

Removed some outdated compiler checks in OLE code. We don't support VC++ 4 for ages and any recent version of GCC has cVal, too.

2010-01-03 19:29 VS, revision 63044

Removed wxClearVariant() and wxReleaseVariant(). Replaced them with standard VariantInit() and VariantClear() functions respectively. They appear to be just reimplementations of these.

2010-01-03 19:28 VS, revision 63043

Moved wxConvertVariantToOle and wxConvertOleToVariant to oleutils.cpp. These are declared in oleutils.h, so that's where they should be. More importantly, they are used by wxActiveXContainer and so are required even if wxUSE_OLE_AUTOMATION is off. Also added "wx" prefix to (Clear|Release)Variant, because they cannot be static any longer.

2010-01-03 19:20 SC, revision 63042

building xcode projects from files.bkl

2010-01-03 18:37 VZ, revision 63041

Romanian translation update from Catalin. This is more of a replacement than an update but apparently the old translation had a lot of problems. The new translation is undoubtedly more complete (1523 translated messages against 230 for the old one).

2010-01-03 11:24 JMS, revision 63040

Added missing ResetEditorAppearance() call

2010-01-03 11:23 JMS, revision 63039

In wxPGEditor::SetControlAppearance() use GetClassDefaultAttributes() instead of GetDefaultAttributes()

2010-01-02 14:07 VS, revision 63038

Added wxAutoOleInterface<T> template. This replaces WX_DECLARE_AUTOOLE with easier-to-debug version. The macro is still preserved for backward compatibility.

2010-01-02 12:31 MBN, revision 63037

Document wxPerl interface differences for wxRichTextCtrl.

2010-01-02 12:29 MBN, revision 63036

Document wxPerl interface differences for wxRichTextCtrl.

2010-01-02 12:22 MBN, revision 63035

Build with WXINTL_NO_GETTEXT_MACRO defined.

2010-01-02 11:40 MBN, revision 63034

Fix method name in wxInfoBar interface.

2009-12-31 14:37 VZ, revision 63032

Change the year in copyright messages to 2010. Backport of r63031 from trunk. See #11584.

2009-12-31 14:36 VZ, revision 63031

Change the year in copyright messages to 2010. Happy new year to all wx-ers! Closes #11584.

2009-12-31 14:32 VZ, revision 63030

Add wxWinVersion_7 to the private wxMSW wxWinVersion enum. Also correct wxWinVersion_2003 definition, it should have the same value as wxWinVersion_XP. And add wxWinVersion_XP_SP2 == wxWinVersion_2003_SP1.

2009-12-31 09:39 SC, revision 63028

adding placeholders and work in progress files

2009-12-31 00:40 KO, revision 63027

Fix issue that was causing ShowWithoutActivating to indirectly call wxNonOwnedWindow::Show.

2009-12-30 18:44 MW, revision 63024

Add another test for sparse file support so that the large file tests can run as part of the default suite for more platforms.

2009-12-30 18:41 KO, revision 63023

To support playing async sounds on the stack on Mac, do not delete the wxSoundData when its wxSound object is destroyed if it's in the queue of sounds to be played. Instead, mark it to be deleted and delete it after it has played.

2009-12-30 18:39 MW, revision 63022

Repair the stream tests.

2009-12-30 18:38 MW, revision 63021

Support large files with stdio on mingw.

2009-12-30 18:07 JMS, revision 63020

wxOwnerDrawComboCtrl -> wxComboCtrl

2009-12-30 18:06 JMS, revision 63019

Updated entries regarding wxPropertyGridManager

2009-12-30 14:46 VZ, revision 63017

Don't create an invalid iterator in wxDateTime::ParseTime(). Creating an iterator pointing beyond the string end resulted in an assert from MSVC 9 CRT. Fix this by using wxString ctor taking length (which may be greater than the length of the string) instead of the one taking two iterators (which must both be valid).

2009-12-30 14:38 VZ, revision 63016

Explicitly mention MSVC std::fstream(wxString) incompatibility issue. The fact that std::fstream provides a non-standard constructor in MSVC CRT implementation is sufficiently confusing to merit a special mention.

2009-12-30 09:35 SC, revision 63015

fixing SetSubMenu for OSX_Cocoa, fixes #11581

2009-12-29 17:04 JMS, revision 63012

Changed wxPropertyCategory to use same cell rendering code as regular properties. This allows labels for category columns other than the first. Rendering code was heavily modified to allow 'merging' of cells when needed.

2009-12-28 21:01 VZ, revision 63008

Use memmove() instead of memcpy() in wxString::AssignCopy(). This allows the code like "s = s.c_str()" to work correctly, although it doesn't fix all self-assignment-related bugs. See #11245.

2009-12-28 17:18 VZ, revision 63007

Ensure that frame is re-laid out when its toolbar is deleted. The code in wxFrameBase::SetToolBar() didn't work correctly when toolbar was unset using SetToolBar(NULL) because the frame toolbar pointer was reset before layout was done resulting in the frame not recognizing its (still existing) toolbar child as one of its bars and so nothing was done at all when the frame had a single child, as in the toolbar sample. Correct this by carefully ensuring that the toolbar pointer is still set at the moment of the layout but hide the toolbar to ensure that no place is allocated for it. Also mention that it is not necessary to call SetToolBar(NULL) at all if the toolbar is being deleted anyhow in the sample as toolbar does this itself in its destructor.

2009-12-28 17:18 VZ, revision 63006

Correct initial value of "Toggle toolbar" check menu item in the sample. This item should initially be checked because the toolbar is initially shown.

2009-12-28 02:56 PC, revision 63003

don't use ==, fixes ##11580

2009-12-27 20:40 VZ, revision 63001

Account for cells spanning multiple grid cells better when autosizing. The total size of a multi-span cell was accounted for each row/column it covered, resulting in too much space being allocated to them. Only take into account the average size of each row/column computed by dividing the total cell size by number of rows/columns it occupies to fix this. Closes #11498.

2009-12-27 20:40 VZ, revision 63000

Return the kind of cells span from wxGrid::GetCellSize(). Behaviour of GetCellSize() may be very surprising for the unwary as it can return negative or null "size" of the cell. Add CellSpan return value to allow the caller to check what kind of cell are we dealing with easier. Also document the new return value as well as the function (and matching SetCellSize()) itself carefully as its behaviour is far from obvious.

2009-12-27 20:40 VZ, revision 62999

Don't call SetMinSize() when creating the window if no initial size was given. Calling SetMinSize() is unnecessary in this case. It also results in GTK+ errors when creating wxFileDialog as it is not created yet when this is called (but it does take care to pass wxDefaultSize to this function as its size can't be set yet). See r62814 and r62817.

2009-12-27 20:40 VZ, revision 62998

Avoid defining COMPILER_PREFIX for autoconf format. This fixes a fatal bakefile error due to undefined COMPILER variable when using wx presets with autoconf backend introduced in r62458.

2009-12-27 20:40 VZ, revision 62997

Correct wxUSE_MACOSX_VERSION_MIN setting when running under OS X 10.4. sw_vers outputs e.g. 10.4.11 under 10.4 so comparing its result with just 10.4 is wrong, match it against "10.4*" using case instead to ensure that 10.4.11 is indeed recognized as 10.4. Closes #11579.

2009-12-27 20:40 VZ, revision 62996

Document wxString::operator<<(wxUniChar). wxUniChar overload was somehow omitted from the list. Closes #11568.

2009-12-27 20:39 VZ, revision 62995

Override some methods in wxF(F)ileStream to resolve ambiguities. Override virtual methods IsSeekable(), GetLength() and OnSysSeek/Tell() to forward to wxF(F)InputStream base class as otherwise it's impossible to use them at all because of ambiguity between the versions inherited from this class and wxF(F)OutputStream (even though the two versions should do the same thing as they operate on the same file descriptor/handle). Also improve documentation of these classes: provide a brief description, correct the base classes. Closes #11577.

2009-12-26 17:36 VZ, revision 62994

Take into account the initial buttons state when creating wxGTK toolbar. With wxMSW it is possible to call e.g. wxToolBarTool::Enable(false) on a tool before calling wxToolBar::Realize() to create the tool in an initially disabled state but this wasn't done in wxGTK version. Override Realize() now under wxGTK to bring the native toolbar buttons state in sync with the internal state of the corresponding wxToolBarTools.

2009-12-26 17:36 VZ, revision 62993

Don't forward declare wxSystemColour enum. Forward declaring enums is illegal in standard C++ and while MSVC allows this as an extension, it doesn't compile with g++. Just include wx/settings.h instead.

2009-12-26 17:36 VZ, revision 62992

No changes, just fix a typo in and rephrase a comment. Comment in wxToolBarBase::Realize() was probably copied from some port-specific file but didn't make sense any more in common code.

2009-12-26 11:51 JMS, revision 62991

Reduced unnecessary wxT usage

2009-12-26 11:45 JMS, revision 62990

Replaced 'InlineHelp' property attribute with 'Hint'; Use SetHint() wxTextCtrl and wxComboCtrl member function to set it; Added a small section about help string and hint text in propgrid overview

2009-12-26 11:33 JMS, revision 62989

Added wxComboCtrl::SetHint(), GetHint()

2009-12-25 21:43 KO, revision 62988

Remove the native toolbar from the frame in Destroy() rather than the destructor, as removing it in the destructor causes resize / repaint events to fire on the native control, which then goes to wx controls being deleted.

2009-12-25 21:40 KO, revision 62987

Use NSTrackingArea when available (building for 10.5+) so that we can get mouse moved events for inactive / non-focused windows too.

2009-12-25 12:36 VZ, revision 62986

Always show hint in text entries, even when they have focus. It was impossible to show the hint for the initially focused child of a dialog before, as the hint was hidden from the very beginning. By showing it always we avoid this problem. We may want to add an option/flag for SetHint() to make this configurable later if somebody really needs to show hints only for as long as the control doesn't have focus.

2009-12-25 10:47 SC, revision 62985

removing event handlers on non-owned windows when the destroy event is sent

2009-12-25 10:18 JMS, revision 62984

Refactored a very confusing condition in wxPGComboBox item paint code

2009-12-25 10:04 JMS, revision 62983

Added wxComboCtrlBase::SetFore/BackgroundColour()

2009-12-25 09:39 SC, revision 62982

fixing parameter names

2009-12-25 09:33 JMS, revision 62981

Added documentation for wxPGEditor::SetControlAppearance()

2009-12-23 22:42 VZ, revision 62980

Erase toolbar background even if it doesn't contain any controls/spaces. Minor correction to changes in r62971: we still need to hook WM_ERASEBKGND in toolbar parent when painting the toolbar itself even when there are no dummy separators in it (and so we don't need to paint them over). Without this, the background of simple toolbars without controls was not erased correctly.

2009-12-23 14:56 VZ, revision 62977

Don't pass 0 timer ids to ::SetTimer(). Creating timers with 0 id failed because Windows SetTimer() function requires a non-zero id. Fix this by using a (impossible at wx API level) -1 id value in this case instead. Closes #11392.

2009-12-22 22:22 MW, revision 62974

Add support for large stdio files for VC 8+. What versions of the other Windows compilers?

2009-12-22 17:12 JMS, revision 62973

Added wxPropertyGrid::SetUnspecifiedValueAppearance(); Added wxPGEditor::SetControlAppearance() for applying wxPGCell attributes on a property editor.

2009-12-22 16:37 VZ, revision 62972

Remove the test of erase background events from the toolbar sample. Handling erase background events for toolbars never worked for the ports other than wxMSW and now it doesn't work for MSW neither as we need to skip erasing the background in WM_ERASEBKGND handler to avoid flicker which would result from erasing the background twice, from there and from WM_PAINT handler which must do it. So don't even try to test if it works, it's unlikely to be very useful anyhow. This reverts the change to this file in r62805.

2009-12-22 16:37 VZ, revision 62971

Finally really correct background erasing for wxMSW wxToolBar. Do use TBSTYLE_FLAT and TBSTYLE_TRANSPARENT (the former actually implies the latter) for MSW toolbar as it is the only way to avoid the flicker of toolbar buttons. These styles were disabled before because of lack of understanding about how they worked: with them, the toolbar supposes that its parent takes care of erasing its background but wx didn't do this (in fact wxFrame did accidentally erase toolbar background because of the use of Win32 client rectangle, including tool/status bars, instead of wx client rectangle, excluding them, in wxWindowMSW::DoEraseBackground(), but it didn't do it correctly). Now we allow hooking WM_ERASEBKGND events processing in a parent window by a child one and use this to handle toolbar background erasing in toolbar itself. We still prevent the native toolbar from drawing dummy separators and always erase the area occupied by them ourselves and thus avoid the flicker entirely. The only remaining flicker in the toolbar sample is that of embedded wxStaticText control. It does appear with correctly transparent background and bitmaps with alpha channel also (still) are drawn correctly in wxStaticBitmaps embedded in the toolbar. Finally, we still use solid background brush for toolbar but we can easily use a themed background if really desired, there is just a single function to change to do it (MSWGetToolbarBgBrush()).

2009-12-22 16:37 VZ, revision 62970

Fix best size computation for buttons without image and with empty label. If a button was initially created with an empty label (but without image neither), its best size was computed and cached as being null. Correct this by giving the button the default size instead, as expected.

2009-12-21 16:20 JMS, revision 62960

Added wxMSW wxChoice::GetClassDefaultAttributes(), initially used in wxComboCtrl

2009-12-21 11:04 CE, revision 62959

remove ;

2009-12-20 16:07 FM, revision 62958

fix miscellaneous Doxygen 1.6.1 warnings

2009-12-20 15:50 FM, revision 62957

fix a few doxygen warnings

2009-12-20 15:24 FM, revision 62956

add a detailed description to wxMenuItem::SetItemLabel() partially moving docs from wxMenu::Append; add usage examples; organize wxMenuItem functions in 3 sections (getters, setters, checkers) to make it easier to browse the docs; use @onlyfor tag where necessary instead of the (Windows only) text

2009-12-20 13:48 JMS, revision 62955

Added wxPropertyGrid::GetUnspecifiedValueText(). Use it instead of assuming that the unspecified value text is always an empty string.

2009-12-20 13:31 JMS, revision 62954

Added some missing SetupTextCtrlValue() calls

2009-12-19 16:07 JMS, revision 62948

Suppress 'unused argument' warnings

2009-12-19 15:47 JMS, revision 62947

Added wxWindowMSW::MSWGetThemeColour(); initially use it in wxComboCtrl::OnThemeChange()

2009-12-19 13:08 JMS, revision 62946

Properly notify active editor control when it receives the focus.

2009-12-19 13:00 VZ, revision 62945

Document wxSpinCtrlDouble in correct header file. The public header for this class is wx/spinctrl.h, but it was documented in wx/generic/spinctrg.h which didn't even correspond to an existing real header file (which is called spinctlg.h). Move the documentation to wx/spinctrl.h and remove the old file. Closes #11548.

2009-12-19 13:00 VZ, revision 62944

Document wxSizerItem::Assign{Window,Sizer,Spacer}() methods. Also explain why SetSpacer() and SetSizer() are deprecated. Closes #11555.

2009-12-19 12:59 VZ, revision 62943

Document wxDV_NO_HEADER style. Closes #11559.

2009-12-19 12:17 VZ, revision 62942

Corrections to expander position calculations and drawing in generic wxDVC. Correct the calculation of the indent for the columns following the expander and the calculation of the position of the expander itself. See #11558.

2009-12-19 12:17 VZ, revision 62941

Correct selection/drop highlight rectangles width in generic wxDataViewCtrl. The third parameter of wxRect ctor is the width, not the right edge. See #11558.

2009-12-19 12:17 VZ, revision 62940

Always draw standard-sized checkboxes in generic wxDataViewToggleRenderer. The checkbox should be always shown in its normal size, otherwise it looks strange. And this also fixes the overflow of the checkbox in the next column which happened if the size passed to Render() had negative width before. See #11558.

2009-12-19 12:17 VZ, revision 62939

Use correct width in wxDataViewCustomRendererBase::RenderText(). The text should be ellipsized to fit in the text rectangle, not the total cell one (which is larger). See #11558.

2009-12-19 12:13 JMS, revision 62938

In wxPropertyGrid::HandleCustomEditorEvent(), also filter out excess wxEVT_COMMAND_TEXT_UPDATED events that originated from wxComboCtrl-derived editors.

2009-12-18 23:31 VZ, revision 62935

Don't create labels with wxST_NO_AUTORESIZE flag with empty size by default. Since r57627 wxStaticText objects with wxST_NO_AUTORESIZE flag created with wxDefaultSize were created with zero width. This accounted for the disappearance of the labels for the toolbar controls (as could be seen in the toolbar sample where the combobox label was not shown any more). Fix this by explicitly setting the correct initial size after the correct label is set.

2009-12-18 23:31 VZ, revision 62934

Don't draw over dummy separators in MSW toolbar, just don't draw them at all. Prevent the native toolbar from drawing the separators which we use simply as placeholders by excluding them from the update region when handling WM_PAINT. This reduces flicker by not redrawing the areas occupied by these separators twice and also prevents them from ever being shown (you could see them briefly appear before being erased before). The other toolbar tools still flicker though, there doesn't seem to be any simple way to prevent the control from entirely invalidating itself whenever it is resized.

2009-12-18 21:49 VZ, revision 62933

Don't explicitly set the background colour for wxChoice. This is unnecessary and results in flicker when the control is resized because we explicitly erase its background ourselves and then it does it itself.

2009-12-18 21:49 VZ, revision 62932

No real changes, just change type of MSWGetBgBrush() argument. Pass wxWindow instead of HWND to it as in most cases we already have wxWindow for the HWND we have and calling wxFindWinFromHandle() once more is unnecessary. This also makes the code of MSWGetBgBrushForChild() slightly simpler.

2009-12-18 21:49 VZ, revision 62931

Don't force themed background for wxToolBar under MSW, just use the default. Native toolbars don't have themed background under Vista/7 and don't look good with rebar background (which is the same one as used for the menus) as toolbars don't appear on the top of the window. Erasing background ourselves also results in flicker and display problems and makes the code much more complicated. Simply don't do this to avoid all the problems.

2009-12-18 18:28 JMS, revision 62930

Have wxComboCtrl honour any custom foreground and background colour.

2009-12-18 18:03 JMS, revision 62929

In wxComboCtrl, prefer focus rectangle colours over custom ones.

2009-12-18 17:42 JMS, revision 62928

Have wxComboCtrl honour any application-specified foreground and background colour.

2009-12-18 15:47 VZ, revision 62927

Don't access the first character of a possible empty USEMAP parameter. This fixes an assert when using debug CRT in VC9.

2009-12-18 15:47 VZ, revision 62926

Only call GetTextMetrics() in wxDC::GetTextExtent() if necessary. A micro-optimization: avoid ::GetTextMetrics() call if we don't use its results (as is the case if neither descent nor external leading were requested).

2009-12-18 15:47 VZ, revision 62925

Call SymCleanup() in wxStackWalker to fix problem with next call to it. Calling SymInitialize() second and subsequent times failed (and hence so did wxStackWalker::WalkFrom() and other methods) as we didn't call SymCleanup() because of some problems with old versions of debughlp.dll. These problems don't seem to exist any more so do call SymCleanup() so that we can walk the stack more than once. Closes #11544.

2009-12-18 15:46 VZ, revision 62924

Don't use "-I @" in ctags command line as cmd.exe handles '@' specially. Just use the file path instead as '@' is used for the "response files" by cmd.exe, at least under Windows 7.

2009-12-18 15:46 VZ, revision 62923

No changes, just minor cleanup. Don't call wxWindow::PrepareDC() which doesn't do anything anyhow. Use wxBitmap::IsOk() instead of Ok().

2009-12-18 15:46 VZ, revision 62922

Restore the use of the correct brush for toolbar background erasing. The call to SetBrush() was mistakenly removed in r62850 but it is needed because wxClientDC only inherits background colour but not the brush used by DrawRectangle() call in wxToolBar::MSWEraseRect(), so the wrong colour was used under systems < Vista. Restore this call now.

2009-12-17 22:52 VZ, revision 62919

Compilation fixes and cleanup for wxSymbian. Avoid duplicating Unix files, reuse the existing ones instead. Remove unnecessary gcc pragmas. Add Symbian-specific chkconf.h. Closes #11551.

2009-12-17 18:51 VZ, revision 62916

Correct wxDateTime::GetWeekOfMonth() for days in the beginning of January. This function was implemented in terms of GetWeekOfYear() which made it tricky to get it right as GetWeekOfYear() can, correctly, return week number for the previous year for the first days of January (and also from the next one for the last days of December). Replace this implementation with a simple one directly counting the number of weeks since the first of the month, this seems to be much simpler and does pass the new unit test case which the old version failed. Also make the unit test failures more informative by using WX_ASSERT_EQUAL_MESSAGE() instead of CPPUNIT_ASSERT_EQUAL(). See #11561.

2009-12-17 17:44 VZ, revision 62914

Add test of accelerators using both ASCII and non-ASCII keys to the sample. Test using 'Ctrl-A', just 'A' and 'Esc' as accelerators as all of them except the first one were reported not to work in some cases.

2009-12-17 17:44 VZ, revision 62913

Always use FVIRTKEY for the accelerators under MSW. Not using FVIRTKEY results in problems in non-US keyboard layouts and, in fact, we were already always using it because wxCharCodeWXToMSW() returned true in its output IsVirtual argument most of the time. Just do it always now and also remove IsVirtual parameter with badly (if at all...) defined meaning from wxCharCodeWXToMSW() as it's not used anywhere any longer.

2009-12-17 15:41 JMS, revision 62912

Allow wxPropertyGrid::RecalculateVirtualSize() execute even if pg is not completely initialized (otherwise virtual size calculations may go wrong)

2009-12-17 14:39 SC, revision 62911

fix for sleep mode on displays, fixes #11557

2009-12-17 13:15 SC, revision 62909

supporting sleep mode properly, see #11557

2009-12-17 11:52 VZ, revision 62908

Initialize all fields of EXCEPINFO object to avoid crashes later. We could call SysFreeString() on uninitialized pointers if IDispatch::Invoke() failed.

2009-12-16 20:27 VZ, revision 62903

Correct typo in wxEVT_COMMAND_LISTBOX_DOUBLECLICKED. An underscore was omitted between LISTBOX and DOUBLECLICKED.

2009-12-16 19:59 JMS, revision 62902

Fixed display of 'InlineHelp' attribute

2009-12-16 19:48 JMS, revision 62901

Slightly improved check whether or not to execute wxPropertyGrid::RecalculateVirtualSize()

2009-12-16 18:10 PC, revision 62900

preserve type when loaded image is rescaled, #11543

2009-12-16 09:30 CE, revision 62899

force rebuild of all docs

2009-12-16 07:32 PC, revision 62898

allow setting client size to work properly before window is shown

2009-12-15 23:44 VZ, revision 62896

Avoid GTK+ errors when using AUI wxPseudoTransparentFrame hack. wxPseudoTransparentFrame is not a top level window at all and the code in wxGTK wxTopLevelWindow::DoSetSizeHints() fails for it when it is called from wxWindowBase::CreateBase() because of it and spits GTK+ errors as it calls gtk_window_set_geometry_hints() with NULL widget. Fix this by simply skipping wxTopLevelWindow implementation of this method in wxPseudoTransparentFrame. A better fix would be to get rid of this hack completely, of course.

2009-12-15 22:12 VZ, revision 62895

Remove asserts in wxChoicebook::Get/SetPageImage(). It's better to silently return an error code than assert when these methods are called as their failure is relatively harmless and the user code may call them via base class pointer without caring if it works with a control which supports images or not.

2009-12-15 16:38 VS, revision 62894

define NDEBUG if not using debug CRT

2009-12-15 16:38 VS, revision 62893

define NDEBUG if not using debug CRT

2009-12-15 12:25 VS, revision 62891

compilation fix for wxUSE_IMAGE=0 case

2009-12-15 12:24 VS, revision 62890

compilation fix for wxUSE_IMAGE=0 caseinclude/wx/iconbndl.h

2009-12-15 12:24 VS, revision 62889

PCH compilation fix

2009-12-14 20:17 VZ, revision 62886

Avoid 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 17:13 JMS, revision 62885

Make wxPG_EX_MULTIPLE_SELECTION behave more like a Windows list box (regarding Ctrl and Shift keys)

2009-12-14 16:33 JMS, revision 62884

Determine better whether the property editor needs to be refreshed in wxPGProperty::SetValue()

2009-12-14 16:18 JMS, revision 62882

'Set to Unspecified' -> 'Set Value to Unspecified'

2009-12-14 16:17 JMS, revision 62881

Set correct m_state in wxPGCheckBoxEditor::SetValueToUnspecified()

2009-12-14 16:15 JMS, revision 62880

Always refresh the editor when setting property value to unspecified.

2009-12-14 16:12 JMS, revision 62879

Fixed unspecified property value rendering for various editor types (including check box)

2009-12-14 13:41 VZ, revision 62877

Restore 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-14 10:38 CE, revision 62876

fix for second bug in bug 11438

2009-12-13 13:52 VZ, revision 62871

Remove 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 62870

Add --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 62869

Test 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:52 VZ, revision 62868

Rename --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.

2009-12-13 13:00 JMS, revision 62867

Added wxPropertyGridManager header support; Refactored wxPropertyGrid DoSetSplitterPosition() code

2009-12-12 15:01 SC, revision 62866

rearranging contentview, adding toolbar

2009-12-12 14:40 SC, revision 62865

rearranging contentview, adding toolbar

2009-12-12 13:24 JMS, revision 62864

wxHeaderColumnBase -> wxHeaderColumn; Fixed UpdateColumnWidthToFit() sample code

2009-12-12 11:10 JMS, revision 62863

On Windows, force read-only property editor wxTextCtrl to have 'white' background (for now...)

2009-12-12 10:59 JMS, revision 62862

Added a proper log frame to the propgrid sample

2009-12-12 10:38 JMS, revision 62861

Generate wxPropertyGrid splitter (column divider) events: wxEVT_PG_COL_BEGIN_DRAG, wxEVT_PG_COL_DRAGGING, wxEVT_PG_COL_END_DRAG

2009-12-11 16:50 JMS, revision 62859

Fixed incorrect use of RemoveAt() in wxPropertyGridPageState::SetColumnCount() (fixes #11539)

2009-12-11 14:55 CE, revision 62857

fix for bug 11438

2009-12-10 04:04 VZ, revision 62850

Add 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.

2009-12-10 04:04 VZ, revision 62849

Rename 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 62848

Set 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 62847

No changes, just refactor wxToolBarToolBase ctors. Add the usual Init() function for common initialization.

2009-12-10 03:59 VZ, revision 62846

No 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.

2009-12-09 19:48 PJC, revision 62845

Rewrote 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 62844

Avoid 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 62843

Don'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.

2009-12-09 15:59 VZ, revision 62842

Better 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:59 VZ, revision 62841

No 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 15:58 VZ, revision 62840

Override 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:45 VZ, revision 62839

Document 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.

2009-12-09 14:40 VZ, revision 62838

Add wxSymbian-specific headers and sources and build files. Patch by Andrei Matuk. Closes #11489.

2009-12-09 14:31 VZ, revision 62837

Explicitly 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 14:27 VZ, revision 62836

STL build compilation fix. Explicitly cast wxWindowBase pointer to wxWindow before passing it to wxWindowList::Find().

2009-12-09 09:21 SC, revision 62835

support for getting current event loop on iPhone

2009-12-09 08:38 SC, revision 62834

avoiding 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:29 SC, revision 62833

using on all OSX variants

2009-12-09 08:28 SC, revision 62832

fixing toolbar support, adding iphone

2009-12-09 08:27 SC, revision 62831

make sure it is compilable w/o menus (eg on iPhone)

2009-12-09 08:26 SC, revision 62830

remove workaround

2009-12-09 08:24 SC, revision 62829

avoid double define warnings

2009-12-09 06:25 KO, revision 62828

Add OSX prefix, and be clear that this is OS X only API to avoid any expectation that this API may work elsewhere.

2009-12-08 17:36 VZ, revision 62825

Use 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 62824

Fix duplicate accelerator use in animate sample. Both "Play" and "Stop" used Ctrl+P. Closes #11425.

2009-12-08 17:35 VZ, revision 62823

Make 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 62822

Visually show the cells boundaries in layout sample grid sizer test. Closes #11456.

2009-12-08 16:56 VZ, revision 62821

Don'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 62820

Implement 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:56 VZ, revision 62819

Fix unused parameter warning after last commit (r62818).

2009-12-08 16:36 VZ, revision 62818

Fix 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 16:24 VZ, revision 62817

Don'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 62816

Speed up adding pages during freezing

2009-12-08 15:07 JS, revision 62815

Speed up adding pages during freezing

2009-12-08 00:37 VZ, revision 62814

Set 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 18:03 VZ, revision 62813

Reset 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.

2009-12-07 17:27 VZ, revision 62812

Add a very simple example of a Win32 application using wx DLL.

2009-12-07 17:27 VZ, revision 62811

Use __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:26 VZ, revision 62810

Document wxListCtrl::FindItem() return value. In particular mention that it returns -1 if no items were found. Closes #11523.

2009-12-07 16:23 JS, revision 62809

Don't crash if no document

2009-12-07 16:22 JS, revision 62808

Don't crash if no document

2009-12-07 16:06 JS, revision 62807

Safer access of member variables

2009-12-07 16:05 JS, revision 62806

Safer access of member variables

2009-12-07 14:37 VZ, revision 62805

Generate 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 62804

Use 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.

2009-12-07 06:01 VZ, revision 62803

Move 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.

2009-12-07 04:04 VZ, revision 62802

Define 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.

2009-12-07 04:04 VZ, revision 62801

Add 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 62800

Correct 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.

2009-12-07 04:04 VZ, revision 62799

Regenerate 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.

2009-12-07 03:20 VZ, revision 62798
  • D /wxWidgets/trunk/samples/dll/dll.dsw
  • D /wxWidgets/trunk/samples/ribbon/ribbon.dsw

Remove a couple of VC6 workspace files for the samples. See r62797.

2009-12-07 03:18 VZ, revision 62797
  • D /wxWidgets/trunk/samples/dll/dll_vc7.sln
  • D /wxWidgets/trunk/samples/dll/dll_vc8.sln
  • D /wxWidgets/trunk/samples/dll/dll_vc9.sln

Remove 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.

2009-12-07 02:54 KO, revision 62796

Add 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 17:32 KO, revision 62795

Handle deprecated style so we don't assert and then crash.

2009-12-06 16:31 VZ, revision 62794

Restore TAB in accelerator string wrong removed by r62791. See #11512.

2009-12-06 03:30 VZ, revision 62793

Correct 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 62792

Minor 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 62791

Use 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-06 03:29 VZ, revision 62790

Fix wxFD_CLR() definition for Intel compiler under Linux. wxFD_CLR() should be void, not bool. Closes #11517.

2009-12-05 20:57 PC, revision 62789

minor cleanup

2009-12-05 20:45 PC, revision 62788

remove unused variables, minor cleanup

2009-12-05 20:29 PC, revision 62787

remove -I on nonexistent directory

2009-12-05 20:26 PC, revision 62786

remove unnecessary DoGetBestSize

2009-12-05 20:25 PC, revision 62785

simplify Enable()

2009-12-05 19:54 VS, revision 62784

Added 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 62783

Implement wxNativeContainerWindow::IsShown() for MSW. Simply use native ::IsWindowVisible() for IsShown() implementation. Closes #11503.

2009-12-05 18:31 VZ, revision 62782

Add 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:30 VZ, revision 62781

Don'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 18:24 PC, revision 62780

correct parameter type

2009-12-05 15:25 VZ, revision 62779

Don'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 10:05 VS, revision 62778

Documented that wxCriticalSection can be used before wxInitialize(), as a global object.

2009-12-05 02:32 VZ, revision 62777

Fix 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:19 JMS, revision 62773

Exit wxPropertyGrid::RecalculateVirtualSize() immediately if it was called before the grid state was initialized.

2009-12-03 19:08 JMS, revision 62772

Handle the rare case where wxPropertyGrid::HandleCustomEditorEvent() may receive event before the grid state has been initialized.

2009-12-03 18:20 PC, revision 62771

make access for virtuals match base

2009-12-03 17:26 VZ, revision 62770

Suppress 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.

2009-12-03 17:26 VZ, revision 62769

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.

2009-12-02 18:28 PC, revision 62764

make array data fully const

2009-12-02 18:27 PC, revision 62763

use const_cast where appropriate

2009-12-02 17:36 PC, revision 62762

check for self assignment in operator=

2009-12-02 14:27 VZ, revision 62761

Compilation fix after r62754. Don't pass second argument to wxPizza::New() any more in wxStaticBox.

2009-12-02 01:57 BP, revision 62760

Removed hard-coded timer Id in wxAUI for the transparent hint fade functionality. (fixes #11435)

2009-12-01 21:23 BP, revision 62759

Forward-port of r62758 (Added wxHtmlEasyPrinting name accessor and modifier).

2009-12-01 21:21 BP, revision 62758

Added wxHtmlEasyPrinting name accessor and modifier (only one wxHtmlEasyPrinting instance is supposed to be used for multiple printouts).

2009-12-01 18:16 PC, revision 62756

remove m_backing_window member, to keep people from trying to use it

2009-12-01 17:47 VZ, revision 62755

Add wxOSX_10_6_AND_LATER macro and use it. Replace all occurrences of @interface wxFoo : NSFoo #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 <NSProtocol> #endif which we used for protocols new in 10.6 with just @interface wxFoo : NSFoo wxOSX_10_6_AND_LATER(<NSProtocol>) which looks better and simpler.

2009-12-01 17:23 PC, revision 62754

remove unused data member

2009-12-01 01:43 VZ, revision 62753

Define _CRT_NONSTDC_NO_WARNINGS to suppress MSVC warning in libtiff. Defining lfind as _lfind is not enough and a warning C4996 is still generated by MSVC9 when the function is called.

2009-12-01 01:42 VZ, revision 62752

Define _CRT_SECURE_NO_WARNINGS when building 3rd party libs with MSVC. Avoid dozens of warnings about "unsafe" use of the standard C library functions in 3rd party code which are harmless and which we don't care about in any case.

2009-11-30 18:47 SC, revision 62749

using 64bit APIs, closes #10184

2009-11-30 14:17 FM, revision 62748

partially revert changes of r58531 as wxCollapsiblePane currently doesn't work with GTK+ 2.18.3 (altough it does work with GTK+ 2.12.2); all following changes (r58632,58718,61109) should have been preserved

2009-11-30 02:08 KO, revision 62747

orderBack puts it behind all windows in its level, including in other apps, so use orderFront instead.

2009-11-30 01:30 VZ, revision 62746

Fix compilation of image sample with wxUSE_LIBPNG==0. Also don't propose to save the file using the extensions not supported in this library build. Closes #11495.

2009-11-30 01:30 VZ, revision 62745

Fix compilation in wxUSE_STL==1 case broken by r62738. We need to use wxString::c_str() explicitly to convert wxString to const char * in STL build.

2009-11-29 22:46 KO, revision 62744

Make sure we setup the base's Show state correctly and send a show event.

2009-11-29 10:42 JMS, revision 62743

Fixed regression: forgot to set wxPropertyGridPageState::m_anyModified to false in wxPropertyGridInterface::ClearModifiedStatus().

2009-11-28 21:09 KO, revision 62741

Fix needed to allow shaped windows, and other windows without a title bar, to get the focus when clicked under OS X.

2009-11-28 21:05 SC, revision 62740

64bit builds had problems with full circles, as we can use 10.4+ only APIs, use new implementation, fixes #11471

2009-11-28 15:37 VZ, revision 62738

Allow calling wxStrchr() with a narrow string and wide character. Calls to wxStrchr(char-string, wide-char) would previously fail if wide character couldn't be converted to a single character in the current locale encoding. Change it to simply return NULL in this case as it's a safe and useful generalization: a narrow string will never contain a wide character not representable in the current locale. Add wxUniChar::GetAsChar() to help with implementing this. Closes #11487.

2009-11-28 04:37 VZ, revision 62737

Define INVALID_FILE_ATTRIBUTES in filename.cpp too. Fix VC6 compilation: INVALID_FILE_ATTRIBUTES is not defined in its headers so we need to do it ourselves (this was done in filefn.cpp before but part of the code using this constant was moved to filename.cpp in r62735 so now we need to define it here too).

2009-11-28 04:37 VZ, revision 62736

No changes, just remove unnecessary UTF-8 bytes. The patch of #11187 (applied in r61884) unnecessarily used +U2019 which can't be converted to latin1, remove it.

2009-11-28 03:40 VZ, revision 62735

Implement wx{File,Dir}Exists() in terms of wxFileName methods. Use wxFileName from the global functions instead of using global functions in wxFileName methods as wxFileName is the preferred API for all these operations. Closes #11488.

2009-11-28 03:29 VZ, revision 62734

Don't override msw.remap system option value in wxToolbook. Introducing a system option for all toolbars and then ignoring it inside wx itself is ridiculous and just goes to prove that this option itself was a mistake. But as we have it, we should respect whatever value it's set to (which should hopefully be 0 anyhow for most modern systems) instead of overriding it forcefully making the mockery of the whole "option" concept.

2009-11-28 03:29 VZ, revision 62733

Avoid infinite recursion in wxToolbook::OnSize() under wxMSW. Reset m_needsRealizing flag before calling wxToolBar::Realize() as doing this can result in another call to wxToolbook::OnSize() itself. Closes #11942.

2009-11-28 03:28 VZ, revision 62732

Use OUTLINETEXTMETRIC::otmpFamilyName to get wxFont face name from MSW. In spite of the name, we need to use otmpFamilyName member of OUTLINETEXTMETRIC struct and not otmpFaceName to get the font face name: the latter may contain (locale-dependent, so the changes of r62708 didn't work for non-English versions of Windows) "Italic" or "Bold" suffix while the former does not and is what we want. This should really fix the unit test failures, even in French locale.

2009-11-27 22:36 VZ, revision 62731

Compilation fix for wxUSE_CAIRO==0 after last commit. Include wx/graphics.h when wxUSE_CAIRO==0 but wxUSE_GRAPHICS_CONTEXT==1 (as in e.g. MSW builds).

2009-11-27 22:06 VZ, revision 62730

Define wxUSE_CAIRO in wx/chkconf.h to ensure that it's always defined. wxUSE_CAIRO used to be defined only in wx/cairo.h but this header wasn't included by src/common/dcgraph.cpp so the code there was compiled as if we were not using Cairo even when we were (thanks g++ for the warning). Define it in wx/chkconf.h (included from wx/defs.h, i.e. always) now to ensure that not only this bug is fixed but also that it can't happen any more.

2009-11-27 22:05 VZ, revision 62729

Use #ifdef to check for __WXMSW__ and __WXGTK__ and not #if. Using #if doesn't work when symbols are not defined.

2009-11-27 02:47 VZ, revision 62728

Allow changing horizontal alignment of numeric cells in wxGrid. wxGridCellAttr didn't provide any way to query its alignment attributes without falling back to the (always defined) default alignment so the code in wxGridCellNumberRenderer and similar classes simply always used right alignment, Add a new wxGridCellAttr::GetNonDefaultAlignment() function which allows to retrieve the alignment defined in the attribute and use it to use right alignment by default but allow overriding it. Add a test to the sample showing a non right-aligned numeric cell. Incidentally fix a long-standing bug in wxGridCell{DateTime,Enum}Renderers which used wxRIGHT instead of wxALIGN_RIGHT and so were not aligned properly even by default.

2009-11-27 02:47 VZ, revision 62727

Add symbolic constant wxALIGN_INVALID and use it instead of -1 in wxGrid. wxGridCellAttr was using literal -1 to indicate "no alignment" which wasn't immediately obvious, use a new wxALIGN_INVALID (which has the same value) instead.

2009-11-27 00:14 KO, revision 62726

Build fix for OS X <= 10.5.

2009-11-27 00:11 KO, revision 62725

Allow OS X Cocoa (or any OS X port) to override GetBestSize and provide a native OS X Cocoa impl. Also, fix the line ending check under OS X Cocoa, and a sanity check for SetStyle.

2009-11-26 22:52 KO, revision 62724

Add CheckSpelling support for OS X Cocoa, make sure NSTextView-based wxTextCtrls emit EVT_TEXT, and a fix for GetStyle when position == length.

2009-11-26 17:17 VZ, revision 62722

Make wxFileDialog::Set/SetPath() behave consistently. wxFileDialog::GetPath() didn't return the value set by a previous call to SetPath() in wxMSW version. Fix this and also implement SetPath() and SetDirectory() methods in the generic versions in the same way as SetFilename(). Closes #3672.

2009-11-26 17:10 VZ, revision 62721

Fix off by 1 errors in owner-drawn menu drawing code in wxMSW. The label was offset by 1 pixel vertically and the check marks were 1 pixel too wide compared to the native ones under XP, correct this. Closes #11420 (again).

2009-11-26 16:59 VZ, revision 62720

Don't set wxTextAttr font family to invalid value. wxTextAttr::HasFontFamily() shouldn't return true if there is no valid font family in this attribute but this could happen if it was constructed from a font which didn't know its own family. This fixes asserts on the startup of the text sample in wxMSW due to passing wxFONTFAMILY_UNKNOWN to wxFont::SetFamily() when trying to use such invalid attribute later.

2009-11-26 16:59 VZ, revision 62719

Use wxTE_RICH style for the log window in the text sample. This makes it have nicer colour (white instead of grey by default) under MSW and wxTE_RICH was already in the code, just commented out -- it seems it's better to enable it (as it also allows more text to be shown in the control under old Windows versions) than to remove it.

2009-11-26 04:29 VZ, revision 62718

Explicitly set the cursor when showing popup menu on text control in wxMSW. Without this, an I-beam cursor is used when a menu is shown by a rich text control. Set the arrow cursor explicitly to work around this apparent bug in the native control. Closes #11314.

2009-11-26 03:34 VZ, revision 62717

No changes, just avoid overriding GetNativeFontInfoDesc() in wxMSW wxFont. wxFont::GetNativeFontInfoDesc() and GetNativeFontInfoUserDesc() were overridden just to ensure that the font is realized but it makes sense to do it in wxFontRefData::GetNativeFontInfo() itself as detecting the face name won't work if the font is not realized anyhow. And then we don't need these functions at all as the only thing they do is checking that the font is valid when they are called but this can be done in the base class itself as this should happen in all ports (document that this is the case).

2009-11-26 03:33 VZ, revision 62716

Return face name from wxFont::GetNativeFontInfo() under MSW. Retrieve the face name from the system if we don't have it already before returning the native font info. This fixes the currently failing font unit tests.

2009-11-26 02:51 VZ, revision 62715

Improve wxCheckListBox appearance under Vista/Win7. Fix the items alignment and also code cleanup: fix indentation, remove magic numbers &c. Closes #10286.

2009-11-25 15:17 VZ, revision 62713

Correct drawing of check marks for owner-drawn items without bitmaps. Standard check mark was not drawn correctly for check/radio items without bitmaps. Closes #11480.

2009-11-25 15:17 VZ, revision 62712

Correct alignment of menu accelerator strings in owner-drawn menus. Draw them right-aligned as the native menus do. Closes #11479.

2009-11-24 01:02 VZ, revision 62709

Don't use unsafe strcpy() when parsing wxNativeFontInfo. Fix a nice buffer overflow waiting to happen due to the use of wxStrcpy(). Call wxNativeFontInfo::SetFaceName() which uses wxStrlcpy() instead.

2009-11-24 01:02 VZ, revision 62708

Don't return italic/bold suffix from wxFont::GetFaceName() in wxMSW. These suffixes don't make part of the face name in wx API but the native MSW API which we use since r62675 does return them. This made the unit test fail in SettingsTestCase::GlobalFonts() as a face name with such suffix wasn't recognized as a valid face name any more, so simply remove them.

2009-11-24 01:01 VZ, revision 62707

Make the assert in SettingsTestCase::GlobalFonts() more informative. Show the index of the font and the face name which was invalid.

2009-11-24 01:01 VZ, revision 62706

Fix wxListCtrl::GetSubItemRect(wxLIST_RECT_ICON/LABEL) in wxMSW for column 0. Wrong width was returned for the icon or label rectangle when querying the first column. Fix this and add a test to the sample allowing to check this. GetSubItemRect() still returns wrong results for second and subsequent columns, see #11355.

2009-11-24 01:01 VZ, revision 62705

Don't change file access time implicitly when setting it explicitly. wxFileHandle helper class used in wxFileName::SetTimes() under MSW modified the file access time by setting it to the current time because it opened the file in a wrong mode. Closes #10567.

2009-11-24 01:01 VZ, revision 62704

Enable wxGraphicsContext and related classes by default if supported. For MSW, check for gdiplus.h availability when using configure but only support it for MSVC 7+ otherwise. For the other platforms, always support it.

2009-11-23 23:38 VZ, revision 62703

Use theme functions for drawing owner-drawn menus. This makes the menu items with custom attributes or bitmaps look more native, especially on post-XP systems. Closes #11420.

2009-11-23 10:34 JS, revision 62700

Made Unicode the default in symbols dialog.

2009-11-23 10:34 JS, revision 62699

Made Unicode the default in symbols dialog. Fixed wrongly sized symbols dialog.

2009-11-22 12:24 VZ, revision 62698

Define wxNO_RTTI if RTTI support is disabled for g++ or MSVC. For g++ it could have been possible to define wxNO_RTTI in configure itself but it seems better/simpler/more maintainable to do it in C++ code. As for MSVC, we already define wxNO_RTTI correctly if build/msw/makefile.vc is used but not if (modified or rebaked) project files are used and detecting RTTI support in the code is the only way to fix it.

2009-11-22 12:24 VZ, revision 62697

Document that throwing exceptions from wxTimer::Notify() is unsupported. Currently exceptions thrown from this function are not passed to wxApp:: OnExceptionInMainLoop() (unlike exceptions thrown from timer event handlers).

2009-11-22 12:00 SN, revision 62696

Fixed Cut&Paste error in wxTextCtrl::ChangeValue documentation (fixes #11469).

2009-11-21 18:02 SC, revision 62695

making sure creation is setup correctly for wx-frame coordinates into cocoa-content coordinates, fixes #11463

2009-11-21 12:39 JMS, revision 62694

Added a new documentation overview section 'Caveats When Not Using C++ RTTI', describing possible problems with Bind() and wxAny when C++ RTTI is disabled.

2009-11-21 10:28 JMS, revision 62693

Unified meaning of wxTypeIdentifier in RTTI and RTTI-less type info systems; Fixed and added some comments

2009-11-19 23:34 VZ, revision 62692

Fix compilation for some wxMSW configurations. wx/scopeguard.h was not always included when using PCH, so include it in any case, not just #ifndef WX_PRECOMP.

2009-11-19 22:16 JMS, revision 62691

Fixed builds without wxHAS_EVENT_BIND (typeinfo.h include was misplaced)

2009-11-19 20:27 JMS, revision 62690

Added typeinfo.h which implements wxTypeId, using C++ RTTI if available. wxAny and Unbind<>() code are updated to use it. Added and updated related unit tests.

2009-11-19 02:36 VZ, revision 62686

Compilation fix for wxUSE_STL build: another missing _str(). Use utf8_str() to convert wxString to GTK+ string instead of relying on implicit conversion which doesn't exist when wxUSE_STL==1 (and also when using wchar_t-based Unicode build).

2009-11-18 22:01 KO, revision 62683

Fix accidental commit of 2.8 ABI compat. code.

2009-11-18 20:22 KO, revision 62682

Rebake after last commit.

2009-11-18 20:05 KO, revision 62681

Forward port of r60190 (wxMSW Cairo support) to trunk.

2009-11-18 15:01 JS, revision 62680

Fixed #11212 [RichText sample] Assert/Crash when Styles combo box opened Patch by Catalin

2009-11-18 10:56 VZ, revision 62679

Suppress harmless g++ warnings about converting float/double to int. The conversion is done on purpose on these places so just suppress the warning by using explicit casts.

2009-11-18 10:56 VZ, revision 62678

Fix harmless g++ warning about using NULL for non-pointer. PostQueuedCompletionStatus() may be either an int or a pointer, pass 0 instead of NULL when we don't care about its value anyhow.

2009-11-18 04:45 VZ, revision 62677

Fix handling of invalid paths with multiple columns in wxFileName. SplitVolume() didn't handle colons in the initial position correctly which surprised SetPath() and led to accessing an out-of-range string element. Fix SplitVolume() and also add a check to SetPath() itself as it seems like it could be called with a path containing the volume only. Closes #11453.

2009-11-18 04:18 VZ, revision 62676

Remove unnecessary manual face name selection code. The change of r60391 made specifying the face name explicitly unnecessary but left the code which filled "facename" array in wxNativeFontInfo::SetFamily() with face names even though it was never used -- simply remove this code.

2009-11-18 04:18 VZ, revision 62675

Implement wxFont::GetFaceName() to return the face name being really used. Since the change of r60391 empty face name was returned for all fonts created using the standard wxFont constructor (so basically all fonts except for those created from native font info and the default/normal font which we retrieve from the system). Use Windows GetOutlineTextMetrics() function to get the real face name being used independently of the way the font was created.

2009-11-17 21:20 VS, revision 62674

Improved handling of anchors in wxHTML: scroll to better position (patch #11406).

2009-11-17 15:47 VZ, revision 62672

Fix typo in Bind() documentation: s/binded/bound/ Closes #11450.

2009-11-17 15:47 VZ, revision 62671

Explicitly document event types for EVT_CLOSE(). Closes #11445.

2009-11-16 22:57 BP, revision 62670

Backport of r62669 to 2.8 branch. Fix crash when dragging toolbars in wxAuiManager::OnFloatingPaneMoveStart(). (fixes #10170)

2009-11-16 22:55 BP, revision 62669

Fix crash when dragging toolbars in wxAuiManager::OnFloatingPaneMoveStart(). (fixes #10170)

2009-11-16 22:31 RD, revision 62668

Add some missing commas. Fixes #11443

2009-11-16 22:28 RD, revision 62667

Add some missing commas. Fixes #11443

2009-11-16 19:39 RR, revision 62666

Always set focus to the item selected using Select()

2009-11-16 16:03 VZ, revision 62665

Fix wxDataViewRenderer::GetEllipsizeMode() for kDataBrowserTruncateTextMiddle. The value of this constant is 0 so don't test for it using operator "&", it's just the default if no others are specified. Fixes assert on startup of the dataview sample.

2009-11-15 16:07 RR, revision 62664

Maybe fixed assertion when using built-in searching non-string columns

2009-11-15 15:54 RR, revision 62663

Don't use Ctrl-F as it hides a bug

2009-11-15 14:39 RR, revision 62662

Do earlier and better checking for matching actions and data format, hopefully fixes #11201

2009-11-15 13:05 SC, revision 62661

fixing typo for builds < 10.6

2009-11-15 11:29 RR, revision 62660

Disable GTK cast checks in wx code

2009-11-15 10:40 RR, revision 62659

Revert wxFlexGridSizer constr. change

2009-11-15 05:02 PC, revision 62657

look for backtrace() in -lexecinfo, fixes #9783

2009-11-15 02:36 KO, revision 62656

ShowWithoutActivating fix for OS X Cocoa, and also add support for shaped windows at least when the image being drawn has proper alpha/mask set. I'm not sure if we can support it by setting a region on the TLW, as the way to do this in Cocoa is just to make the TLW's background transparent and use alpha in whatever you draw.

2009-11-15 00:15 VZ, revision 62655

Implement support for wxSL_<DIR> in wxGTK, show them better in the sample. Support wxSL_{LEFT,TOP,RIGHT,BOTTOM} in wxGTL version of wxSlider. Make the display of the orientations in the slider page of the widgets sample more clear. Also document wxSL_<DIR> meaning better.

2009-11-15 00:15 VZ, revision 62654

No changes, just removed trailing spaces.

2009-11-15 00:15 VZ, revision 62653

Correct wxSL_VERTICAL addition in r62618. It was incorrectly added to the case label value instead of flags.

2009-11-15 00:14 VZ, revision 62652

Minor corrections to wxSL_LABELS definition and documentation. Use parentheses around the macro expansion to ensure that code like "whatever & ~wxSL_LABELS" still works as expected. Be more explicit in wxSL_LABELS description and mark wxSL_MIN_MAX_LABELS and wxSL_VALUE_LABEL as being new in 2.9.1.

2009-11-14 22:50 RR, revision 62651

Restore ability to create wxFlexGridSizer with 2 params (number of columns and vertical gap)

2009-11-14 20:52 KO, revision 62650

Don't assert when we get wxBG_STYLE_TRANSPARENT.

2009-11-14 20:51 KO, revision 62649

Fix typo that broke compilation and adjust the defines to avoid an empty #if.

2009-11-14 19:56 RR, revision 62648

Hide value label explicitly

2009-11-14 18:34 VZ, revision 62645

Undo test code accidentally committed as part of r62643.