]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
14 years agofixing non-precomp builds
Stefan Csomor [Wed, 17 Mar 2010 09:13:55 +0000 (09:13 +0000)] 
fixing non-precomp builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoadding proper removal of observer for stacked event loops, using cfrunloop for consol...
Stefan Csomor [Wed, 17 Mar 2010 08:05:04 +0000 (08:05 +0000)] 
adding proper removal of observer for stacked event loops, using cfrunloop for console on osx as well

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agostreamlining OSX event support third step, using platform specific native run methods...
Stefan Csomor [Wed, 17 Mar 2010 07:14:03 +0000 (07:14 +0000)] 
streamlining OSX event support third step, using platform specific native run methods for event loops

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't use grouping of different methods as this creates confusing output
Robert Roebling [Tue, 16 Mar 2010 19:13:36 +0000 (19:13 +0000)] 
Don't use grouping of different methods as this creates confusing output

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd white outline to bulls eye cursor used under MSW.
Vadim Zeitlin [Tue, 16 Mar 2010 14:48:02 +0000 (14:48 +0000)] 
Add white outline to bulls eye cursor used under MSW.

The cursor used black circles only making it perfectly invisible on black
background. Add a white outline as well to ensure that it can be seen in this
case too, similarly to how it's done for magnifying glass cursor and the same
bulls eye cursor in GTK+.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoInitialize picker style in native GTK file/dir pickers.
Vadim Zeitlin [Tue, 16 Mar 2010 00:23:57 +0000 (00:23 +0000)] 
Initialize picker style in native GTK file/dir pickers.

This fixes the styles used in the native wxGTK version after changes in
r63654: we must initialize base class m_pickerStyle now and the code didn't do
this before resulting in various asserts and incorrect behaviour.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agostreamlining OSX event support second step, moving pending and idle event handling...
Stefan Csomor [Mon, 15 Mar 2010 19:31:57 +0000 (19:31 +0000)] 
streamlining OSX event support second step, moving pending and idle event handling to runloop-observer, see #11805, see #11797

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agostreamlining OSX event support first step, see #11805, see #11797
Stefan Csomor [Mon, 15 Mar 2010 15:40:47 +0000 (15:40 +0000)] 
streamlining OSX event support first step, see #11805, see #11797

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFixed label editor position for child properties
Jaakko Salli [Sun, 14 Mar 2010 17:15:17 +0000 (17:15 +0000)] 
Fixed label editor position for child properties

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix test for compilers not supporting \u escapes in strings (such as VC6).
Vadim Zeitlin [Sun, 14 Mar 2010 14:47:11 +0000 (14:47 +0000)] 
Fix test for compilers not supporting \u escapes in strings (such as VC6).

Also reformat the code to follow wx style and explicitly use UTF-8 for the
test strings encoding instead of assuming the encoding of the current locale
was UTF-8 (which is never the case under Windows).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoSet correct properties for the new file added in r63660.
Vadim Zeitlin [Sun, 14 Mar 2010 14:44:25 +0000 (14:44 +0000)] 
Set correct properties for the new file added in r63660.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse an appropriate icon automatically in wxMSW wxMessageDialog.
Vadim Zeitlin [Sun, 14 Mar 2010 14:15:49 +0000 (14:15 +0000)] 
Use an appropriate icon automatically in wxMSW wxMessageDialog.

wxMessageBox() functions uses wxICON_QUESTION or wxICON_INFORMATION
automatically if no other icon style (including wxICON_NONE) is specified but
wxMessageDialog under MSW didn't do this, unlike under e.g. wxGTK.

Fix this by also determining the appropriate icon automatically in
wxMessageDialog itself in wxMSW.

Ideally we'd do this in all ports wxMessageDialog implementations and remove
the code doing it from wxMessageBox() but right now it's still needed for the
platforms other than wxMSW and wxGTK.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDocument that message box with wxYES_NO but without wxCANCEL can't be closed.
Vadim Zeitlin [Sun, 14 Mar 2010 14:15:46 +0000 (14:15 +0000)] 
Document that message box with wxYES_NO but without wxCANCEL can't be closed.

Recommend using these styles together to avoid it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd a "not specified" icon style to the message box test dialog.
Vadim Zeitlin [Sun, 14 Mar 2010 14:15:42 +0000 (14:15 +0000)] 
Add a "not specified" icon style to the message box test dialog.

The sample allowed to test the behaviour with all wxICON_XXX including
wxICON_NONE but not without any icon styles at all. Do allow it now.

Also use symbolic names for the radiobox indices for clarity.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse event tables instead of Bind() in uiaction sample.
Vadim Zeitlin [Sat, 13 Mar 2010 21:58:04 +0000 (21:58 +0000)] 
Use event tables instead of Bind() in uiaction sample.

This should fix VC6 build broken by addition of this sample as VC6 doesn't
support Bind(). Luckily, there is no need to use it here anyhow.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd minimal support for QNX to configure.
Vadim Zeitlin [Fri, 12 Mar 2010 22:59:56 +0000 (22:59 +0000)] 
Add minimal support for QNX to configure.

Recognize QNX and define __QNX__ under it.

Don't use -lpthreads as the thread functions are in libc under QNX.

Use wxX11 by default.

See #11790.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFixed property editor re-positioning when additional column editor (e.g. label editor...
Jaakko Salli [Fri, 12 Mar 2010 14:38:05 +0000 (14:38 +0000)] 
Fixed property editor re-positioning when additional column editor (e.g. label editor) is used

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRevert unneeded fix for list control headers from r63177.
Vadim Zeitlin [Fri, 12 Mar 2010 09:36:37 +0000 (09:36 +0000)] 
Revert unneeded fix for list control headers from r63177.

The call to SetItemMinSize() shouldn't be needed and the latest OS X version
does work correctly without it. Apparently the real bug was fixed somewhere
else in the meanwhile.

Closes #11309.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCorrect query for formats supported by wxDataObject in wxGTK wxClipboard.
Vadim Zeitlin [Fri, 12 Mar 2010 09:27:10 +0000 (09:27 +0000)] 
Correct query for formats supported by wxDataObject in wxGTK wxClipboard.

We wrongly asked wxDataObject for the formats it could provide on output
instead of those it accepted as input in wxClipboard::GetData() in wxGTK.
This could result in clipboard not working for "asymmetrical" data objects.

See #11811.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix function wxControlBase::DoEllipsizeSingleLine to really make sure that the ellips...
Francesco Montorsi [Wed, 10 Mar 2010 13:57:47 +0000 (13:57 +0000)] 
Fix function wxControlBase::DoEllipsizeSingleLine to really make sure that the ellipsized string takes less pixels than maxFinalWidthPx.
Add comments to explain in more details what the function does and in particular the valid ranges of all internal variables; fix in that regard both the code of both wxELLIPSIZE_START, wxELLIPSIZE_MIDDLE and wxELLIPSIZE_END.
Add more asserts to check the valid ranges and turn a couple of time-expensive checks in level-2 asserts.
Add a test unit for the wxControl::Ellipsize function.
Fix minor details in the docs of wxControl::Ellipsize.
Closes #11567.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agono real changes, just rename the variables to make the code more readable and to...
Francesco Montorsi [Wed, 10 Mar 2010 11:07:57 +0000 (11:07 +0000)] 
no real changes, just rename the variables to make the code more readable and to prepare everything for the next commit:
- add postfix "Px" to all variables containing numbers of pixels
- add postfix "ToRemove" to initialChar and nChars vars to make it clear what they are for

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse _UNICODE instead of UNICODE in wx/msw/winundef.h.
Vadim Zeitlin [Tue, 9 Mar 2010 11:08:52 +0000 (11:08 +0000)] 
Use _UNICODE instead of UNICODE in wx/msw/winundef.h.

This is consistent with the other checks and generally more correct.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAnother German translation update from Herbert Breunung.
Vadim Zeitlin [Mon, 8 Mar 2010 23:34:08 +0000 (23:34 +0000)] 
Another German translation update from Herbert Breunung.

German translation is now 100% complete again.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse correct style for the dialog shown by generic file/dir pickers.
Vadim Zeitlin [Mon, 8 Mar 2010 19:37:08 +0000 (19:37 +0000)] 
Use correct style for the dialog shown by generic file/dir pickers.

The picker styles don't make sense for the button so we don't use them when
creating the button but we do need to somehow use the style the picker was
created with to create an appropriate dialog when it's clicked.

Fix the problem by simply storing the style in a member variable and using it
instead of wxWindow::m_windowStyle.

Closes #11635.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix wxTlsValue<> memory leaks.
Václav Slavík [Mon, 8 Mar 2010 12:21:58 +0000 (12:21 +0000)] 
Fix wxTlsValue<> memory leaks.

Win32 API doesn't provide pthreads-like destructors, so we need to
emulate them to free per-thread allocated memory.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agopending events detected didn't work properly, go the safe route now, fixes #11797
Stefan Csomor [Mon, 8 Mar 2010 11:08:10 +0000 (11:08 +0000)] 
pending events detected didn't work properly, go the safe route now, fixes #11797

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoProvide more details about the major and minor version numbers returned by wxGetOsVer...
Francesco Montorsi [Sun, 7 Mar 2010 16:03:53 +0000 (16:03 +0000)] 
Provide more details about the major and minor version numbers returned by wxGetOsVersion() under linux,mac,windows.
Document that wxOS_UNIX, wxOS_MAC and wxOS_WINDOWS enum values are combinations of other values (unfortunately doxygen does not show the definition of those symbols in the HTML docs so we need to explicitely state that).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoGerman translations update from Herbert Breunung.
Vadim Zeitlin [Sun, 7 Mar 2010 11:37:30 +0000 (11:37 +0000)] 
German translations update from Herbert Breunung.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoSkip wxChildFocusEvent in wxAuiNotebook handler.
Vadim Zeitlin [Sun, 7 Mar 2010 10:46:24 +0000 (10:46 +0000)] 
Skip wxChildFocusEvent in wxAuiNotebook handler.

There doesn't seem to be any good reason to eat the event in this handler,
leave it for the others if needed.

See #11785.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoShow pages icons in window list menu in wxAuiNotebook.
Vadim Zeitlin [Sun, 7 Mar 2010 10:46:17 +0000 (10:46 +0000)] 
Show pages icons in window list menu in wxAuiNotebook.

Reuse the tab icons in the wxAuiNotebook window list menu.

Closes #11785.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd uncommitted uiaction `sample bakefiles.
Kevin Ollivier [Sat, 6 Mar 2010 21:30:59 +0000 (21:30 +0000)] 
Add uncommitted uiaction `sample bakefiles.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRebake after wxUIActionSimulator addition.
Kevin Ollivier [Sat, 6 Mar 2010 20:15:39 +0000 (20:15 +0000)] 
Rebake after wxUIActionSimulator addition.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdding wxUIActionSimulator, a class for programmatically controlling the mouse and...
Kevin Ollivier [Sat, 6 Mar 2010 20:09:23 +0000 (20:09 +0000)] 
Adding wxUIActionSimulator, a class for programmatically controlling the mouse and keyboard.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoReset wxAuiNotebook selection to wxNOT_FOUND if it becomes empty.
Vadim Zeitlin [Sat, 6 Mar 2010 13:30:01 +0000 (13:30 +0000)] 
Reset wxAuiNotebook selection to wxNOT_FOUND if it becomes empty.

The selection was 0 in a notebook without any pages which was wrong as it must
always be less than the page count.

Fix this in wxAuiNotebook itself and add an assert checking for this invariant
to the sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoA call to wxPopupWindow::Show shouldn't automatically cause the popup window to steal...
Kevin Ollivier [Sat, 6 Mar 2010 04:51:51 +0000 (04:51 +0000)] 
A call to wxPopupWindow::Show shouldn't automatically cause the popup window to steal focus.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd git source control dirs to the list of excludes.
Kevin Ollivier [Sat, 6 Mar 2010 04:15:54 +0000 (04:15 +0000)] 
Add git source control dirs to the list of excludes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd create-archive.py to wx source tree.
Kevin Ollivier [Sat, 6 Mar 2010 04:08:01 +0000 (04:08 +0000)] 
Add create-archive.py to wx source tree.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't store header height in generic wxListCtrl member variable.
Vadim Zeitlin [Sat, 6 Mar 2010 00:31:04 +0000 (00:31 +0000)] 
Don't store header height in generic wxListCtrl member variable.

This is simply unnecessary and resulted in a crash in wxDFB because the window
was used for this variable initialization before being created.

Closes #11711.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix toggling the header in the generic wxListCtrl.
Vadim Zeitlin [Sat, 6 Mar 2010 00:31:00 +0000 (00:31 +0000)] 
Fix toggling the header in the generic wxListCtrl.

We need to update the lfags first before deciding whether we should create or
destroy the header.

Also add a test for toggling the header to the listctrl sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't stop dragging in the grid when the mouse leaves the window.
Vadim Zeitlin [Fri, 5 Mar 2010 23:56:47 +0000 (23:56 +0000)] 
Don't stop dragging in the grid when the mouse leaves the window.

Unexpected/unaccounted for mouse leaving and entering events stopped the drag
operation currently in progress in wxGrid. And while it was resumed later,
this resulted in the mouse being captured only twice but released only once.

Fix this by ignoring the leaving and entering events and checking that we
don't capture the mouse again.

Closes #11662.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix memory leak in wxDataViewListStore::DeleteItem().
Vadim Zeitlin [Fri, 5 Mar 2010 23:55:31 +0000 (23:55 +0000)] 
Fix memory leak in wxDataViewListStore::DeleteItem().

The item data needs to be deleted in addition to simply removing it from the
internal storage.

Closes #11757.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCorrect IsMaximized() in wxOSX for non-resizable windows.
Vadim Zeitlin [Fri, 5 Mar 2010 23:55:27 +0000 (23:55 +0000)] 
Correct IsMaximized() in wxOSX for non-resizable windows.

NSWindow isZoomed always returns true in this case, so check the window
rectangle ourselves to determine whether it's maximized.

Closes #11734.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoMake the code more clear in aui sample and avoid g++ 4 warning.
Vadim Zeitlin [Fri, 5 Mar 2010 23:55:23 +0000 (23:55 +0000)] 
Make the code more clear in aui sample and avoid g++ 4 warning.

The code used bitwise XOR which was rather difficult to read and also resulted
in g++ 4 warnings about suggested parentheses.

Fix both issues by using bitwise AND and OR in two separate statements instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoImplement wxBookCtrlBase::CalcSizeFromPage() in the base class.
Vadim Zeitlin [Fri, 5 Mar 2010 23:55:19 +0000 (23:55 +0000)] 
Implement wxBookCtrlBase::CalcSizeFromPage() in the base class.

The definition of this method was needlessly duplicated in all of
wx{Choice,List,Tool,Tree}book and in all of them except the first one it
didn't account correctly for the case when the size of the controller was
greater than the size of the page.

Avoid the duplication and fix the best size determination in such case by
providing a single, correct version of the function in the base class itself.

Closes #11793.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAvoid conflict between accelerators in the notebook sample.
Vadim Zeitlin [Fri, 5 Mar 2010 23:55:14 +0000 (23:55 +0000)] 
Avoid conflict between accelerators in the notebook sample.

Ctrl-5 was used both for the treebook in the "Type" menu and default
orientation choice in the "Orientation" menu.

Use Alt-[0..4] for the "Orientation" menu entries.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoNo changes, just remove redundant GetControllerSize() definitions.
Vadim Zeitlin [Fri, 5 Mar 2010 23:55:09 +0000 (23:55 +0000)] 
No changes, just remove redundant GetControllerSize() definitions.

For some reasons wxBookCtrlBase::GetControllerSize() was redefined in several
derived classes even though it did exactly the same thing in all of them.

Leave only the base class version and remove the other ones.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCorrect controller size determination in wxToolbook.
Vadim Zeitlin [Fri, 5 Mar 2010 23:55:04 +0000 (23:55 +0000)] 
Correct controller size determination in wxToolbook.

The old code used the current toolbar size instead of determining its best
size for some strange reason and this resulted in toolbar remaining of tiny (1
pixel) height at least under wxGTK.

Fix this by simply using the best size of the toolbar.

Closes #11606.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse wxWindow::ReleaseMouse() instead of MSW ::ReleaseCapture() function.
Vadim Zeitlin [Fri, 5 Mar 2010 23:55:00 +0000 (23:55 +0000)] 
Use wxWindow::ReleaseMouse() instead of MSW ::ReleaseCapture() function.

As we capture the mouse using wxWindow::CaptureMouse(), we must release it
with ReleaseMouse() and not just ReleaseCapture().

Closes #11791.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agodefine TARGET_CPU (as a variable) also for formats using MSVS_PLATFORM; this allows...
Francesco Montorsi [Fri, 5 Mar 2010 20:51:42 +0000 (20:51 +0000)] 
define TARGET_CPU (as a variable) also for formats using MSVS_PLATFORM; this allows a simpler logic in the following tests (and in the user bakefiles)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoMoved property unattachment code from wxPropertyGridInterface::RemoveProperty() to...
Jaakko Salli [Thu, 4 Mar 2010 15:09:15 +0000 (15:09 +0000)] 
Moved property unattachment code from wxPropertyGridInterface::RemoveProperty() to wxPropertyGridPageState::DoDelete() - fixes deferred removal issue

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agono existing on iphone
Stefan Csomor [Thu, 4 Mar 2010 08:29:04 +0000 (08:29 +0000)] 
no existing on iphone

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agofixing leak, fixes #11781
Stefan Csomor [Wed, 3 Mar 2010 23:00:36 +0000 (23:00 +0000)] 
fixing leak, fixes #11781

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agofixing leak, fixes #11782
Stefan Csomor [Wed, 3 Mar 2010 21:52:46 +0000 (21:52 +0000)] 
fixing leak, fixes #11782

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agousing native fullscreen support and ShowEvent triggers
Stefan Csomor [Wed, 3 Mar 2010 16:53:34 +0000 (16:53 +0000)] 
using native fullscreen support and ShowEvent triggers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agofixing warning
Stefan Csomor [Wed, 3 Mar 2010 16:51:15 +0000 (16:51 +0000)] 
fixing warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agomake sure ShowEvent doesn't get triggered to early during construction
Stefan Csomor [Wed, 3 Mar 2010 16:33:12 +0000 (16:33 +0000)] 
make sure ShowEvent doesn't get triggered to early during construction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAllow using version-specific vc prefix in msvc/wx/setup.h.
Vadim Zeitlin [Wed, 3 Mar 2010 14:19:29 +0000 (14:19 +0000)] 
Allow using version-specific vc prefix in msvc/wx/setup.h.

We still use just "vc" by default for compatibility but allow the user to
predefine either wxMSVC_VERSION or wxMSVC_VERSION_AUTO to use the specified or
version-dependent prefix instead. This is very convenient when using multiple
MSVC versions.

See #11022.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse correct directory names in msvc/wx/setup.h for 64 bit builds.
Vadim Zeitlin [Wed, 3 Mar 2010 14:19:18 +0000 (14:19 +0000)] 
Use correct directory names in msvc/wx/setup.h for 64 bit builds.

Use _amd64 and _ia64 suffixes if _M_X64 or _M_IA64 is defined.

Closes #11022.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdded Arabic translation from Abdullah Abouzekry.
Vadim Zeitlin [Wed, 3 Mar 2010 14:19:13 +0000 (14:19 +0000)] 
Added Arabic translation from Abdullah Abouzekry.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix wxCommandProcessor compilation with wxUSE_ACCEL==0.
Vadim Zeitlin [Wed, 3 Mar 2010 14:19:05 +0000 (14:19 +0000)] 
Fix wxCommandProcessor compilation with wxUSE_ACCEL==0.

Leave the accelerator strings empty in this case.

Closes #11783.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoLayout the immediate parent of the info bar as described in the docs, not the top...
Robin Dunn [Wed, 3 Mar 2010 07:17:18 +0000 (07:17 +0000)] 
Layout the immediate parent of the info bar as described in the docs, not the top-level parent.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDocument that images in buttons and menus might not be shown under GTK.
Vadim Zeitlin [Wed, 3 Mar 2010 01:08:19 +0000 (01:08 +0000)] 
Document that images in buttons and menus might not be shown under GTK.

Mention gtk-{button,menu}-images GTK+ settings.

See #11369.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoadd 64bit support to those formats which I could test and which support 64bit build...
Francesco Montorsi [Wed, 3 Mar 2010 00:35:44 +0000 (00:35 +0000)] 
add 64bit support to those formats which I could test and which support 64bit build modes (msvc, msvs2005prj and msvs2008prj) by adding a TARGET_CPU option similar to what wxWidgets bakefiles do (note the absence of the WX_ prefix since it does not make sense to have a wx-specific architecture); this additional feature allows correct inclusion of the vc_[amd64|ia64]_[lib|dll] path when building a wx-based project on Windows.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years ago(minor change) update list of supported Windows versions
Francesco Montorsi [Tue, 2 Mar 2010 23:21:54 +0000 (23:21 +0000)] 
(minor change) update list of supported Windows versions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse user locale with Latin-1 as fallback for command line arguments.
Vadim Zeitlin [Tue, 2 Mar 2010 20:46:18 +0000 (20:46 +0000)] 
Use user locale with Latin-1 as fallback for command line arguments.

Command line arguments can contain characters outside of 7 bit ASCII range.
Assume that they use the default user encoding but fall back to Latin-1 if
conversion failed.

Closes #11754.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't use m_macToolbar in wxOSX wxToolBar if it is NULL.
Vadim Zeitlin [Tue, 2 Mar 2010 18:16:11 +0000 (18:16 +0000)] 
Don't use m_macToolbar in wxOSX wxToolBar if it is NULL.

This fixes a crash when a native toolbar is not used by wxToolBar as it
happens when it's used by wxToolbook for example.

Closes #11775.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoEnclose code using m_macToolbar in #if wxOSX_USE_NATIVE_TOOLBAR.
Vadim Zeitlin [Tue, 2 Mar 2010 18:16:02 +0000 (18:16 +0000)] 
Enclose code using m_macToolbar in #if wxOSX_USE_NATIVE_TOOLBAR.

Don't use m_macToolbar which is only used when the toolbar is a native one
when we don't really use the native toolbar.

This should fix compilation in case wxOSX_USE_NATIVE_TOOLBAR is 0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDocument GetBitmapMargins
Robin Dunn [Tue, 2 Mar 2010 00:23:31 +0000 (00:23 +0000)] 
Document GetBitmapMargins

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix crash when accessing clipboard before entering the main loop.
Vadim Zeitlin [Mon, 1 Mar 2010 23:45:22 +0000 (23:45 +0000)] 
Fix crash when accessing clipboard before entering the main loop.

Check that we have an event loop running before yielding to it.

Notice that we really do need an event loop in wxClipboardSync as events must
be dispatched for the clipboard code to work so while not using the event loop
if it doesn't exist would have fixed a crash as well, it wouldn't allow to use
the clipboard in e.g. wxApp-derived class OnInit().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoInvalidate best size when the bitmap or bitmap position changes. Add GetBitmapMargins
Robin Dunn [Mon, 1 Mar 2010 23:20:35 +0000 (23:20 +0000)] 
Invalidate best size when the bitmap or bitmap position changes.  Add GetBitmapMargins

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse the correct event class for the window modal notification
Robin Dunn [Mon, 1 Mar 2010 22:54:15 +0000 (22:54 +0000)] 
Use the correct event class for the window modal notification

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoHave to implement wxPGProperty::DeleteChildren() differently so that it will work...
Jaakko Salli [Mon, 1 Mar 2010 15:30:03 +0000 (15:30 +0000)] 
Have to implement wxPGProperty::DeleteChildren() differently so that it will work with deferred property deletion

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoHave to check for wxPG_SPLITTER_AUTO_CENTER style before setting propgrid column...
Jaakko Salli [Mon, 1 Mar 2010 15:26:07 +0000 (15:26 +0000)] 
Have to check for wxPG_SPLITTER_AUTO_CENTER style before setting propgrid column proportion in the sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agotranslate 0.5 offset into user space before applying translation, see #11769, see...
Stefan Csomor [Sun, 28 Feb 2010 17:29:47 +0000 (17:29 +0000)] 
translate 0.5 offset into user space before applying translation, see #11769, see #11771

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agomoving header for precomp builds
Stefan Csomor [Sun, 28 Feb 2010 17:27:49 +0000 (17:27 +0000)] 
moving header for precomp builds

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoSimplify and correct bugs in wxMSW wxScrollBar message handling.
Vadim Zeitlin [Sun, 28 Feb 2010 11:30:55 +0000 (11:30 +0000)] 
Simplify and correct bugs in wxMSW wxScrollBar message handling.

For some reason we computed scroll increment from the native message and not
the new position directly which is actually simpler and probably would have
never resulted in a bug which exchanged the meanings of SB_TOP and SB_BOTTOM.

Get rid of nScrollInc and just update the position variable directly.

Closes #11741.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoNo real changes, just cleanup wxMSW wxScrollBar a little.
Vadim Zeitlin [Sun, 28 Feb 2010 11:30:51 +0000 (11:30 +0000)] 
No real changes, just cleanup wxMSW wxScrollBar a little.

Get rid of old, Win16-compatible, commented out code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoMake it possible to use wxCharBuffer during program initialization.
Vadim Zeitlin [Sun, 28 Feb 2010 11:09:26 +0000 (11:09 +0000)] 
Make it possible to use wxCharBuffer during program initialization.

wxCharBuffer might be used during static initialization, even if only
implicitly. E.g. it is used by wxString::Format() which can be used to
initialize a global string. But it uses the global s_untypedNullData variable
might not be initialized yet resulting in mysterious failures.

Fix this in the usual way by wrapping access to the variable via a function.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoOnly add -woff 3970 to C[XX]FLAGS when using SGI mipsPro 7.4.4 or later.
Vadim Zeitlin [Sun, 28 Feb 2010 11:09:21 +0000 (11:09 +0000)] 
Only add -woff 3970 to C[XX]FLAGS when using SGI mipsPro 7.4.4 or later.

Previous mipsPro versions don't give this warning but do warn about "unknown
warning number 3970" if we use this -woff which is even more annoying than
original warning we tried to suppress.

This is a forward port of r45896 which somehow was only applied to 2.8 branch.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCompilation fixes for wide char functions under IRIX with mipsPro.
Vadim Zeitlin [Sun, 28 Feb 2010 11:09:15 +0000 (11:09 +0000)] 
Compilation fixes for wide char functions under IRIX with mipsPro.

Use correct (XPG5, not XPG4) version of wcsftime().

Bring the wide char functions only declared in std namespace into global one
under IRIX.

Declare vswscanf() ourselves as we just don't seem to get its declaration from
C++ code (only from C99).

Add a cast to fix incorrect putws() signature.

All these fixes apply to IRIX 6.5.18 with mipsPro 7.4.2. It doesn't seem to
add configure checks for most of the above fixes as previous versions of both
the OS and the compiler should be completely extinct by now but we may need to
do it if anybody is still found to use them.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix for wxStringCheck compilation under IRIX using mipsPro.
Vadim Zeitlin [Sun, 28 Feb 2010 11:09:11 +0000 (11:09 +0000)] 
Fix for wxStringCheck compilation under IRIX using mipsPro.

IRIX mipsPro 7.4 refuses to instantiate a template with an inline function as
parameter. Work around this by using a function taking a function pointer
instead of using template wxStringCheck with inline wxIs{alpha,alnum,digit}.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAlways declare wxCStrData::As[W]Char() as being inline.
Vadim Zeitlin [Sun, 28 Feb 2010 11:09:07 +0000 (11:09 +0000)] 
Always declare wxCStrData::As[W]Char() as being inline.

This fixes warnings with IRIX mipsPro and not only mingw32 and probably
doesn't do any harm with the other compilers.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRearrange functions order so that they are effectively inlined.
Vadim Zeitlin [Sun, 28 Feb 2010 11:09:02 +0000 (11:09 +0000)] 
Rearrange functions order so that they are effectively inlined.

Define wxSizer::Insert(size_t, wxSizerItem *) before it is used so that it
could really be inlined.

This also fixes an IRIX mipsPro compiler warning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix compilation with GTK+ 2.4.
Vadim Zeitlin [Sun, 28 Feb 2010 11:08:59 +0000 (11:08 +0000)] 
Fix compilation with GTK+ 2.4.

Support for ellipsization in GtkTreeView and gtk_window_set_focus_on_map() are
new in 2.6, don't use them with 2.4.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoSupport IRIX version of OpenGL multi sampling constants.
Vadim Zeitlin [Sun, 28 Feb 2010 11:08:54 +0000 (11:08 +0000)] 
Support IRIX version of OpenGL multi sampling constants.

Although OpenGL multi sampling extensions originated under IRIX, it doesn't
seem to use the standard names for the constants used and uses "SGI" suffix
for them instead of "ARB".

Add support for IRIX versions of GLX_SAMPLE_BUFFERS_ARB and GLX_SAMPLES_ARB
and also check if these constants are defined at all to avoid compilation
errors if they are not.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix the STC sources generation script to work with ancient Python.
Vadim Zeitlin [Sun, 28 Feb 2010 11:08:50 +0000 (11:08 +0000)] 
Fix the STC sources generation script to work with ancient Python.

Don't use True, set and join method of string objects which didn't exist in
prehistoric Python versions (such as 1.5 bundled with IRIX) as we can easily
work around their lack by using 1, list and string module join method instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoNo real changes, just remove an unused variable.
Vadim Zeitlin [Sun, 28 Feb 2010 11:08:46 +0000 (11:08 +0000)] 
No real changes, just remove an unused variable.

This fixes a warning from IRIX mipsPro compiler.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRemove unused NO_SORT constant.
Vadim Zeitlin [Sun, 28 Feb 2010 11:08:42 +0000 (11:08 +0000)] 
Remove unused NO_SORT constant.

This fixrs an IRIX mipsPro compiler warning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoInclude <locale.h> to get LC_XXX constants declaration.
Vadim Zeitlin [Sun, 28 Feb 2010 11:08:38 +0000 (11:08 +0000)] 
Include <locale.h> to get LC_XXX constants declaration.

This fixes a compilation error under IRIX when using mipsPro.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRemove unnecessary comparison of unsigned variable with 0.
Vadim Zeitlin [Sun, 28 Feb 2010 11:08:34 +0000 (11:08 +0000)] 
Remove unnecessary comparison of unsigned variable with 0.

m_httpsize is of type size_t and so is always >= 0, no need to check for it.
And removing the check avoids a warning from at least IRIX mipsPro (and
probably others).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRemove unused static constant.
Vadim Zeitlin [Sun, 28 Feb 2010 11:08:30 +0000 (11:08 +0000)] 
Remove unused static constant.

HOURS_PER_DAY was used only in the part of the code which was moved to
src/common/datetimefmt.cpp and some compilers (e.g. IRIX mipsPro) now warn
about an unused static constant in datetime.cpp, so just remove it from there.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoInclude the real iostream header and not just iosfwd from wx/stdstream.h.
Vadim Zeitlin [Sun, 28 Feb 2010 11:08:26 +0000 (11:08 +0000)] 
Include the real iostream header and not just iosfwd from wx/stdstream.h.

We need to include full [io]stream declaration and not just forward declare
them to be able to define classes deriving from them. Surprisingly, including
just <iosfwd> seems to work under most systems but it does not under IRIX.

So include the full <iostream> (or <iostream.h>) to be sure to get what we
need.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoSometimes change in varscrollable window's size can result in unused empty space...
Jaakko Salli [Sun, 28 Feb 2010 10:16:49 +0000 (10:16 +0000)] 
Sometimes change in varscrollable window's size can result in unused empty space after the last item. Fix it by decrementing first visible item position as long there is available space (fixes #11758).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoOverride CanFocus because the wxWindow level test will check if the NSTextView's...
Kevin Ollivier [Sat, 27 Feb 2010 02:51:45 +0000 (02:51 +0000)] 
Override CanFocus because the wxWindow level test will check if the NSTextView's parent scrollview can get keyboard focus, and will return no, meaning that wx won't set the focus to the text ctrl.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoMust clear property selection in wxPGProperty::SetChoices() or risk a crash
Jaakko Salli [Fri, 26 Feb 2010 15:45:30 +0000 (15:45 +0000)] 
Must clear property selection in wxPGProperty::SetChoices() or risk a crash

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix assert when using year or decade view in Windows 7 calendar control.
Vadim Zeitlin [Fri, 26 Feb 2010 14:10:02 +0000 (14:10 +0000)] 
Fix assert when using year or decade view in Windows 7 calendar control.

Windows 7 native calendar control is capable of showing more than 3 months
simultaneously in its year or decade view which is shown when the user zooms
out of the month view by double clicking the control header. This resulted in
an assert failure in the code, update it to simply not do anything in this
view.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix assert on wxCalendarCtrl creation under Windows 7.
Vadim Zeitlin [Fri, 26 Feb 2010 14:09:58 +0000 (14:09 +0000)] 
Fix assert on wxCalendarCtrl creation under Windows 7.

Unlike previous versions of Windows, 7 includes the time component in the
return value of MonthCal_GetCurSel() and because of it the comparison with
m_date (which doesn't have any time part) fails.

Fix this by comparing just the date parts of the two wxDateTime objects.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd pretty-printers for wxPoint, wxSize and wxRect.
Vadim Zeitlin [Fri, 26 Feb 2010 14:09:43 +0000 (14:09 +0000)] 
Add pretty-printers for wxPoint, wxSize and wxRect.

Also replace an if checking for the supported types with an array-based
approach to make it easier to add pretty printers for more types in the
future.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdded work around in wxPropertyGrid for a wxTextCtrl beep on enter press
Jaakko Salli [Thu, 25 Feb 2010 15:05:09 +0000 (15:05 +0000)] 
Added work around in wxPropertyGrid for a wxTextCtrl beep on enter press

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFixed property Hide command
Jaakko Salli [Thu, 25 Feb 2010 14:04:25 +0000 (14:04 +0000)] 
Fixed property Hide command

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775