wxWidgets.git
14 years agoOutput the extracted number from wxString::ToXXX() even if it returns false.
Vadim Zeitlin [Sun, 30 Aug 2009 17:25:19 +0000 (17:25 +0000)] 
Output the extracted number from wxString::ToXXX() even if it returns false.

After the changes in r50710 wxString numeric conversion functions didn't
update their output parameter any more if the conversion failed because not
entire string was converted. This was incompatible with the old behaviour
which some existing code did rely on, so restore it and now always return the
number which was extracted from the beginning of the string if we found
anything at all, even if the function returns false.

Add unit test for the correct behaviour and updated the documentation.

Closes #11126.

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

14 years agoUse GetBestSize() rather than DoGetBestSize().
Vadim Zeitlin [Sun, 30 Aug 2009 17:25:02 +0000 (17:25 +0000)] 
Use GetBestSize() rather than DoGetBestSize().

Call GetBestSize() from wxWindowMSW::DoSetSize() so that it works correctly
for the classes which only override DoGetBestClientSize() and not
DoGetBestSize() itself, such as wxStaticText.

Closes #11096.

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

14 years agoFix selection events generation in multi-select wxTreeCtrl.
Vadim Zeitlin [Sun, 30 Aug 2009 17:24:53 +0000 (17:24 +0000)] 
Fix selection events generation in multi-select wxTreeCtrl.

Only deselect the items when the mouse is released if really necessary: add a
flag indicating when it is instead of trying to deduce it in the mouse up
handler.

Closes #11099 (thanks to Jonathan Liu).

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

14 years agoDon't generate duplicated events for clicks on tree +/- buttons.
Vadim Zeitlin [Sun, 30 Aug 2009 17:24:45 +0000 (17:24 +0000)] 
Don't generate duplicated events for clicks on tree +/- buttons.

In multiple selection mode we process mouse events manually in wxTreeCtrl
itself and already take care of mouse clicks on the buttons there so don't
pass them on to the base class which would generate another event.

Closes #11098 (thanks to Jonathan Liu).

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

14 years agoDisabled top-level parent tracking by default (crashes with AUI), must now use wxPG_E...
Jaakko Salli [Sat, 29 Aug 2009 08:09:45 +0000 (08:09 +0000)] 
Disabled top-level parent tracking by default (crashes with AUI), must now use wxPG_EX_ENABLE_TLP_TRACKING style to enable old behavior.

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

14 years agoCompilation fix for wxUSE_PROTOCOL && !wxUSE_URL.
Vadim Zeitlin [Fri, 28 Aug 2009 10:44:25 +0000 (10:44 +0000)] 
Compilation fix for wxUSE_PROTOCOL && !wxUSE_URL.

IMPLEMENT_CLASS(wxProtoInfo) wasn't compiled in in this build configuration
because it was in url.cpp instead of protocol.cpp and so was guarded by
wxUSE_URL and not wxUSE_PROTOCOL as it should have been.

Closes #11151.

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

14 years agoCompilation fixes for wxUSE_FONTMAP==0.
Vadim Zeitlin [Fri, 28 Aug 2009 10:44:12 +0000 (10:44 +0000)] 
Compilation fixes for wxUSE_FONTMAP==0.

Closes #11150.

Closes #11152.

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

14 years agoNo real changes, just slightly simplify code.
Vadim Zeitlin [Fri, 28 Aug 2009 10:43:51 +0000 (10:43 +0000)] 
No real changes, just slightly simplify code.

No need to check whether the pointer is NULL before deleting it nor to assign
NULL to it if it's going to be immediately reassigned on the next line.

Closes #11149.

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

14 years agosmall fix to last commit, only disable updating decor size if necessary
Paul Cornett [Thu, 27 Aug 2009 07:08:12 +0000 (07:08 +0000)] 
small fix to last commit, only disable updating decor size if necessary

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

14 years agoavoid deferred show with Fluxbox, its support for _NET_REQUEST_FRAME_EXTENTS is broken
Paul Cornett [Thu, 27 Aug 2009 05:11:01 +0000 (05:11 +0000)] 
avoid deferred show with Fluxbox, its support for _NET_REQUEST_FRAME_EXTENTS is broken

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

14 years agoSplit 32-bit GTK builds between the the two linux machines, read to add more builds.
Michael Wetherell [Wed, 26 Aug 2009 23:12:36 +0000 (23:12 +0000)] 
Split 32-bit GTK builds between the the two linux machines, read to add more builds.

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

14 years agoFix wxDocManager::GetLastDirectory() when there is no history.
Vadim Zeitlin [Wed, 26 Aug 2009 22:17:57 +0000 (22:17 +0000)] 
Fix wxDocManager::GetLastDirectory() when there is no history.

The most recently opened file should be used only if we have MRU list.

Closes #11145.

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

14 years agoUse correct array size for weekday names.
Vadim Zeitlin [Wed, 26 Aug 2009 20:44:09 +0000 (20:44 +0000)] 
Use correct array size for weekday names.

DAYS_PER_400_YEARS was erroneously used instead of DAYS_PER_WEEK which
resulted in creation of much larger object file than needed as the array is
initialized.

Closes #11143.

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

14 years agoUse #pragma message and not #pragma warning for MSVC.
Vadim Zeitlin [Wed, 26 Aug 2009 20:44:01 +0000 (20:44 +0000)] 
Use #pragma message and not #pragma warning for MSVC.

This fixes MSVC compilation with wxUSE_APPLE_IEEE==0.

Closes #11141.

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

14 years agoCompilation fix for wxUSE_INTL==0 in wxMSW MDI code.
Vadim Zeitlin [Wed, 26 Aug 2009 20:43:53 +0000 (20:43 +0000)] 
Compilation fix for wxUSE_INTL==0 in wxMSW MDI code.

Using wxGetTranslation().wx_str() doesn't work when wxUSE_INTL==0.

Closes #11142.

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

14 years agoRestore pattern creation, and do sanity checks before destroying the pattern or the...
Kevin Ollivier [Mon, 24 Aug 2009 22:49:27 +0000 (22:49 +0000)] 
Restore pattern creation, and do sanity checks before destroying the pattern or the surface. Closes #11140.

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

14 years agoDon't append text following CDATA section to its node itself.
Vadim Zeitlin [Mon, 24 Aug 2009 21:42:27 +0000 (21:42 +0000)] 
Don't append text following CDATA section to its node itself.

Reset wxXmlParsingContext::lastAsText flag when CDATA section ends to avoid
appending the text following it to its node. Instead new text nodes should be
created for it.

Also update the unit test to not work around the bug any more.

Closes #10552.

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

14 years agoNo changes, just fix unused variables and parameters warnings.
Vadim Zeitlin [Mon, 24 Aug 2009 21:42:21 +0000 (21:42 +0000)] 
No changes, just fix unused variables and parameters warnings.

Fix warnings in wxGTK wxUSE_GRAPHICS_CONTEXT==1 build.

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

14 years agoAdd A0 and A1 formats to wxPaperSize enumeration.
Vadim Zeitlin [Mon, 24 Aug 2009 21:42:11 +0000 (21:42 +0000)] 
Add A0 and A1 formats to wxPaperSize enumeration.

Closes #11083.

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

14 years agoUpdate OpenVMS compile support
Jouk Jansen [Mon, 24 Aug 2009 07:31:37 +0000 (07:31 +0000)] 
Update OpenVMS compile support

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

14 years agoAllow entering minus sign in wxMSW wxSpinCtrl if needed.
Vadim Zeitlin [Sun, 23 Aug 2009 22:48:35 +0000 (22:48 +0000)] 
Allow entering minus sign in wxMSW wxSpinCtrl if needed.

Only restrict input to wxMSW wxSpinCtrl to digits only if it doesn't support
negative values, otherwise the user can't enter any negative numbers. As there
is no built in support for entering digits and minus sign only, simply allow
all characters to be used if the negative numbers must indeed be possible to
enter.

Closes #11082.

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

14 years agoNever overflow the output buffer in wxBase64Decode().
Vadim Zeitlin [Sun, 23 Aug 2009 22:25:12 +0000 (22:25 +0000)] 
Never overflow the output buffer in wxBase64Decode().

Don't write extra NUL bytes obtained by decoding the padding at the end of
input into the output buffer as there may be not enough place in it for them.
And in any case the buffer is not (always) NUL-terminated as no NUL bytes are
obtained in absence of padding, so it's better to never terminate it for
consistency.

Closes #11101.

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

14 years agoCorrect the order of coordinates in CGPoint initializer.
Vadim Zeitlin [Sun, 23 Aug 2009 22:25:00 +0000 (22:25 +0000)] 
Correct the order of coordinates in CGPoint initializer.

The order was reversed.

Closes #11020.

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

14 years agoShow the current range of valid dates in the calendar sample.
Vadim Zeitlin [Sun, 23 Aug 2009 22:24:54 +0000 (22:24 +0000)] 
Show the current range of valid dates in the calendar sample.

See #11081 (point C).

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

14 years agoAdded wxGridSize::GetEffective{Cols,Rows}Count().
Vadim Zeitlin [Sun, 23 Aug 2009 22:24:48 +0000 (22:24 +0000)] 
Added wxGridSize::GetEffective{Cols,Rows}Count().

These functions return the number of columns or rows being currently used and
not 0, unlike the existing Get{Cols,Rows}(), if the corresponding number is
determined dynamically.

Closes #10254.

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

14 years agoNo changes, just clarify a comment for WXK_XXX values.
Vadim Zeitlin [Sun, 23 Aug 2009 21:39:42 +0000 (21:39 +0000)] 
No changes, just clarify a comment for WXK_XXX values.

Part of patch in #10268.

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

14 years agoMake WXK_NUMPAD_TAB member of WXK_CATEGORY_TAB.
Vadim Zeitlin [Sun, 23 Aug 2009 21:39:32 +0000 (21:39 +0000)] 
Make WXK_NUMPAD_TAB member of WXK_CATEGORY_TAB.

See #10268.

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

14 years agoExtract event handlers chain documentation in a separate section.
Vadim Zeitlin [Sun, 23 Aug 2009 21:31:14 +0000 (21:31 +0000)] 
Extract event handlers chain documentation in a separate section.

The explanation of event handlers chaining was too big and distracted from the
main point of the event processing section which was to explain in which order
different handlers are looked up.

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

14 years agoMade wxPropertyGridHitTestResult a real class (works better that way with SWIG)
Jaakko Salli [Sun, 23 Aug 2009 18:38:13 +0000 (18:38 +0000)] 
Made wxPropertyGridHitTestResult a real class (works better that way with SWIG)

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

14 years agoRemoved obsolete conditional compile option wxPG_CREATE_CONTROLS_HIDDEN
Jaakko Salli [Sun, 23 Aug 2009 15:34:25 +0000 (15:34 +0000)] 
Removed obsolete conditional compile option wxPG_CREATE_CONTROLS_HIDDEN

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

14 years agoAdded label editing capability into wxPropertyGrid
Jaakko Salli [Sun, 23 Aug 2009 15:31:03 +0000 (15:31 +0000)] 
Added label editing capability into wxPropertyGrid

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

14 years agoAdded wxKeyEvent::IsKeyInCategory() method.
Vadim Zeitlin [Sun, 23 Aug 2009 00:32:17 +0000 (00:32 +0000)] 
Added wxKeyEvent::IsKeyInCategory() method.

This allows to test whether a given key belongs to the category of e.g. arrow
keys or navigation keys in a more concise and more readable manner.

Closes #10268.

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

14 years agoDocument wxGraphicsPath::AddArc() better.
Vadim Zeitlin [Sat, 22 Aug 2009 13:59:14 +0000 (13:59 +0000)] 
Document wxGraphicsPath::AddArc() better.

The angles passed to it are measured clockwise from the horizontal axis,
contrary to the usual mathematical convention so take care to mention this in
the documentation.

Closes #11112.

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

14 years agoOnly use wxLocale functions if wxUSE_INTL == 1.
Vadim Zeitlin [Fri, 21 Aug 2009 18:46:39 +0000 (18:46 +0000)] 
Only use wxLocale functions if wxUSE_INTL == 1.

Don't use locale-dependent formats in wxDateTime::ParseFormat() when locale
support is disabled.

Closes #11121.

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

14 years agoFix typo in wxNewEventFunctor() comment.
Vadim Zeitlin [Fri, 21 Aug 2009 18:46:32 +0000 (18:46 +0000)] 
Fix typo in wxNewEventFunctor() comment.

Closes #11117.

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

14 years agosupporting earlier xcode version
Stefan Csomor [Fri, 21 Aug 2009 18:22:28 +0000 (18:22 +0000)] 
supporting earlier xcode version

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

14 years agoDo wait for connection in the server socket.
Vadim Zeitlin [Fri, 21 Aug 2009 15:25:09 +0000 (15:25 +0000)] 
Do wait for connection in the server socket.

The code returned immediately from wxSocketBase::DoWait() if it wasn't
connected but it only made sense for the client sockets, not server ones which
could be calling this function precisely in order to wait until a connection
is made.

Also added a test for this bug in the sockets/server sample.

Closes #11107.

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

14 years agoAllow creating initially hidden controls in wxOSX/Cocoa.
Vadim Zeitlin [Fri, 21 Aug 2009 10:54:53 +0000 (10:54 +0000)] 
Allow creating initially hidden controls in wxOSX/Cocoa.

If wxWindow is hidden before being really created, we must create the native
control hidden too. Not only this allows to create the controls initially
hidden, as intended, but it also avoids the wx and native visibility flags
from getting out of sync which results in many other problems.

Closes #11131.

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

14 years agoNo changes, just removed hard tabs and trailing white space.
Vadim Zeitlin [Fri, 21 Aug 2009 10:41:26 +0000 (10:41 +0000)] 
No changes, just removed hard tabs and trailing white space.

This commit is huge but there are no non-white-space changes in it.

Some files containing third-party sources (src/msw/wince/time.cpp,
src/x11/pango*.cpp) were left unchanged.

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

14 years agoFix signatures of various image handlers methods.
Vadim Zeitlin [Thu, 20 Aug 2009 00:44:47 +0000 (00:44 +0000)] 
Fix signatures of various image handlers methods.

Use wxBitmapType instead of long for the type parameter and made SaveFile()
methods const to follow the base class changes.

Now that the signatures are the same as in the base class these handlers have
a chance to work again while their methods couldn't be called at all before
this change.

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

14 years agoRefactor and clean up slider labels drawing code.
Vadim Zeitlin [Thu, 20 Aug 2009 00:44:42 +0000 (00:44 +0000)] 
Refactor and clean up slider labels drawing code.

This change fixes multiple g++ 4 warnings about unsafe expressions with
bit-wise operators (completely justified, for once, as the expressions were
absolutely incomprehensible and almost certainly incorrect too) and refactors
the determination of where to draw the slider labels in a single function
instead of triplicating it.

Also reformat to follow wxWidgets conventions and use more clear variable
names.

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

14 years agoFix warning about converting literal strings to non-const char*.
Vadim Zeitlin [Thu, 20 Aug 2009 00:44:37 +0000 (00:44 +0000)] 
Fix warning about converting literal strings to non-const char*.

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

14 years agoRemove declarations of two non-existent functions in wxMSW wxListCtrl.
Vadim Zeitlin [Thu, 20 Aug 2009 00:44:32 +0000 (00:44 +0000)] 
Remove declarations of two non-existent functions in wxMSW wxListCtrl.

wxGetInternalData() were left overs from old versions of the code and don't
exist any more.

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

14 years agoFix harmless unused parameter warnings in wxX11 wxCursor.
Vadim Zeitlin [Thu, 20 Aug 2009 00:44:27 +0000 (00:44 +0000)] 
Fix harmless unused parameter warnings in wxX11 wxCursor.

Parameters in wxCursor ctor are unused because it is not implemented but this
is already indicated by a wxFAIL_MSG() in it.

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

14 years agoRename wxRendererNative::DrawRadioButton() to DrawRadioBitmap().
Vadim Zeitlin [Thu, 20 Aug 2009 00:44:22 +0000 (00:44 +0000)] 
Rename wxRendererNative::DrawRadioButton() to DrawRadioBitmap().

This old name function conflicted with the one in wxRenderer in wxUniv and
also was misleading as this function draws only a bitmap and not the entire
wxRadioButton control.

The old workaround for the warnings about the function names conflict was ugly
and unmaintainable, as proven by the fact that wxRenderer method signature
already became different from the wxRendererNative one.

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

14 years agoFix extraction of standard command line arguments in wxX11.
Vadim Zeitlin [Thu, 20 Aug 2009 00:44:11 +0000 (00:44 +0000)] 
Fix extraction of standard command line arguments in wxX11.

The original number of arguments should be used when checking the argument
index for validity. Additionally, memmove() wasn't moving the correct number
of bytes because of forgotten sizeof().

See #11124.

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

14 years agoFlush log events in console applications as well.
Vadim Zeitlin [Wed, 19 Aug 2009 23:51:24 +0000 (23:51 +0000)] 
Flush log events in console applications as well.

Move wxLog::FlushActive() call from wxAppBase::ProcessIdle() to
wxAppConsoleBase::ProcessIdle().

Now that log messages from background threads are queued until the main thread
log target is flushed, we need to call wxLog::FlushActive() periodically to
see them at all, see #11115.

Besides, even though the default log target in console applications outputs
the messages immediately without queuing them, it is quite possible to use a
non-default target which does require flushing so this change also fixes a
potential bug with non-default log targets.

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

14 years agoHave DoRemoveFromSelection() take active editor into account
Jaakko Salli [Wed, 19 Aug 2009 14:09:33 +0000 (14:09 +0000)] 
Have DoRemoveFromSelection() take active editor into account

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

14 years agoadding gc aware code, fixes #11061
Stefan Csomor [Wed, 19 Aug 2009 13:01:08 +0000 (13:01 +0000)] 
adding gc aware code, fixes #11061

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

14 years agomaking sure an empty label is not reserving place above, fixes #11123
Stefan Csomor [Wed, 19 Aug 2009 12:39:49 +0000 (12:39 +0000)] 
making sure an empty label is not reserving place above, fixes #11123

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

14 years agoFix loading BMPs, broken in r60852. Parenthesize shift expressions.
Paul Cornett [Wed, 19 Aug 2009 06:00:13 +0000 (06:00 +0000)] 
Fix loading BMPs, broken in r60852. Parenthesize shift expressions.

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

14 years agoFix numpad Del not working in wxRTC
Julian Smart [Tue, 18 Aug 2009 17:33:28 +0000 (17:33 +0000)] 
Fix numpad Del not working in wxRTC

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

14 years agosupport for plug-in unloading, closes #10836
Stefan Csomor [Tue, 18 Aug 2009 15:54:36 +0000 (15:54 +0000)] 
support for plug-in unloading, closes #10836

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

14 years agobetter variant support, fixes #11114
Stefan Csomor [Tue, 18 Aug 2009 15:39:53 +0000 (15:39 +0000)] 
better variant support, fixes #11114

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

14 years agogcc 4.2 warning fix
Stefan Csomor [Tue, 18 Aug 2009 15:32:04 +0000 (15:32 +0000)] 
gcc 4.2 warning fix

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

14 years agosimplifying native string handling, see #11061
Stefan Csomor [Tue, 18 Aug 2009 15:30:24 +0000 (15:30 +0000)] 
simplifying native string handling, see #11061

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

14 years agofixing 64bit OSX, closes #11118
Stefan Csomor [Tue, 18 Aug 2009 15:19:32 +0000 (15:19 +0000)] 
fixing 64bit OSX, closes #11118

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

14 years agoadded wakeup implementation for osx_cocoa
Stefan Csomor [Tue, 18 Aug 2009 14:49:38 +0000 (14:49 +0000)] 
added wakeup implementation for osx_cocoa

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

14 years agoMade code that uses wxArrayPGProperty more STL compliant (still can't use wxVector...
Jaakko Salli [Tue, 18 Aug 2009 14:28:08 +0000 (14:28 +0000)] 
Made code that uses wxArrayPGProperty more STL compliant (still can't use wxVector for it because I think there is no wx equivalent of std::sort)

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

14 years agoInclude wx/filefn.h to fix PCH-less compilation.
Vadim Zeitlin [Tue, 18 Aug 2009 11:44:31 +0000 (11:44 +0000)] 
Include wx/filefn.h to fix PCH-less compilation.

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

14 years agoFix compilation for wxUSE_LOG==0.
Vadim Zeitlin [Tue, 18 Aug 2009 01:22:57 +0000 (01:22 +0000)] 
Fix compilation for wxUSE_LOG==0.

Move wxObject and wxFrame forward declarations so that they are accessible to
empty wxLogXXX() functions defined in wxUSE_LOG==0 case too.

Also take wxFormatString, not wxString, in these functions to avoid overload
ambiguities.

Closes #11103.

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

14 years agoFix last error display in wxLogSysError().
Vadim Zeitlin [Tue, 18 Aug 2009 01:22:48 +0000 (01:22 +0000)] 
Fix last error display in wxLogSysError().

After recent changes of wxLogXXX() functions into macros the last error was
overwritten by wxString::Format() called between the call to wxLogSysError()
and wxLog::CallDoLogNow() which called wxSysErrorCode() and so its original
value was lost and, unless the last error was specified explicitly, it always
came out as 0.

To fix this, call wxSysErrorCode() directly when calling wxLogSysError(). This
may be unnecessary (if the error is given explicitly) but there doesn't seem
to be any other way to fix it and the overhead of calling wxSysErrorCode()
shouldn't be that big.

Also add a unit test checking that wxLogSysError() behaves as expected.

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

14 years agoDon't define wxArrayPGProperty as std::vector in STL build.
Vadim Zeitlin [Tue, 18 Aug 2009 00:27:21 +0000 (00:27 +0000)] 
Don't define wxArrayPGProperty as std::vector in STL build.

wxArray::Remove() method is used on it so defining it as std::vector<> breaks
compilation in STL build. It is also insonsistent with all the other arrays in
wx none of which used "#if wxUSE_STL" around its definition.

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

14 years agoAdded missing wx/log.h header.
Vadim Zeitlin [Mon, 17 Aug 2009 23:46:48 +0000 (23:46 +0000)] 
Added missing wx/log.h header.

This fixes compilation without PCH.

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

14 years agoForce linking of src/osx/core/sockosx.cpp.
Vadim Zeitlin [Mon, 17 Aug 2009 23:02:56 +0000 (23:02 +0000)] 
Force linking of src/osx/core/sockosx.cpp.

Without this the file was omitted by linker entirely in the static build and
the correct socket manager wasn't used for the GUI applications (see #11030).

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

14 years agoCleanly separate GUI socket-related code from net library.
Vadim Zeitlin [Mon, 17 Aug 2009 23:02:46 +0000 (23:02 +0000)] 
Cleanly separate GUI socket-related code from net library.

This fixes linking problems under Unix introduced by recent changes which
fixed previous problems which were due to files not being linked in at all.

In order to provide a clean separation between base, net and core libraries we
now use the same wxSocketManager (wxSocketFDBasedManager), defined in net
library for both console and GUI Unix applications and just use different FD
IO manager for them: the latter can be defined in base and core libraries as
it doesn't involve wxSocketImpl at all, only its base wxFDIOHandler class.

At more detailed level, these changes required:
 1. Adding the new wxFDIOManager class.
 2. Refactoring the old (and now removed) wxSocketFDIOManager to use the same
    code as wxSocketFDIOManager. This involved:
  a) Adding handler and direction parameter to RemoveInput().
  b) Storing the mask of registered events in wxFDIOHandler itself.
  c) Defining wxFDIOManagerUnix which works with wxFDIODispatcher.
 3. Changing the traits classes in Unix ports to define GetFDIOManager()
    instead of GetSocketManager().

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

14 years agoNo changes, just put the files in alphabetical order.
Vadim Zeitlin [Mon, 17 Aug 2009 23:02:34 +0000 (23:02 +0000)] 
No changes, just put the files in alphabetical order.

List files in BASE_UNIX_AND_DARWIN_SRC in alphabetical order for consistency
with the other file names variables and to make it more convenient to update
it.

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

14 years agoExtract wxFDIOHandler in its own header.
Vadim Zeitlin [Mon, 17 Aug 2009 23:02:29 +0000 (23:02 +0000)] 
Extract wxFDIOHandler in its own header.

The files defining classes processing events on file descriptor only need this
class and not wxFDIODispatcher itself so reduce build dependencies by extracting
wxFDIOHandler in a separate header which they can include instead of the
entire fdiodispatcher.h.

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

14 years agoAdded wxFDIOHandler::IsOk() and use it with wxSocketImplUnix.
Vadim Zeitlin [Mon, 17 Aug 2009 23:02:18 +0000 (23:02 +0000)] 
Added wxFDIOHandler::IsOk() and use it with wxSocketImplUnix.

This will allow to use the base wxFDIOHandler class only in GUI-specific
network code and this remove its dependency on wxSocketImplUnix. IOW it paves
the way for a proper solution of the problem fixed by r61336 without the hack
of r61335 which results in linking problems (which went undiscovered until now
but were, in fact, always present, i.e. r61335 couldn't work).

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

14 years agoAdded multiple selection feature to wxPropertyGrid (enabled by setting wxPG_EX_MULTIP...
Jaakko Salli [Mon, 17 Aug 2009 18:36:00 +0000 (18:36 +0000)] 
Added multiple selection feature to wxPropertyGrid (enabled by setting wxPG_EX_MULTIPLE_SELECTION style)

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

14 years agoFix hangups when using sockets under OS X.
Vadim Zeitlin [Sun, 16 Aug 2009 23:14:07 +0000 (23:14 +0000)] 
Fix hangups when using sockets under OS X.

A socket event apparently doesn't count as a real event under OS X and our
wxEventLoop::DispatchTimeout() doesn't return when it happens -- so we need to
generate an artificial wake up event ourselves to make it do it and return
control to the code in wxSocket::DoWait() in order for it to process the event.

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

14 years agoDon't forget to reset wxSocketImplMac members to NULL.
Vadim Zeitlin [Sun, 16 Aug 2009 23:14:02 +0000 (23:14 +0000)] 
Don't forget to reset wxSocketImplMac members to NULL.

This avoids an assert in dtor.

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

14 years agoUse CF socket manager in GUI OS X applications.
Vadim Zeitlin [Sun, 16 Aug 2009 23:13:55 +0000 (23:13 +0000)] 
Use CF socket manager in GUI OS X applications.

wxSocketManagerMac was never created under OS X since wxSocket code
refactoring as wxGUIAppTraits::GetSocketManager() wasn't overridden.

Doing this required an extra nasty hack with a global variable in the base
library which is used just to pass the socket manager pointer from the net
library to the core one without creating a dependency between them but this
seems unfortunately unavoidable.

See #11030.

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

14 years agoVirtualize wxSocketImpl creation by routing it via wxSocketManager.
Vadim Zeitlin [Sun, 16 Aug 2009 23:13:45 +0000 (23:13 +0000)] 
Virtualize wxSocketImpl creation by routing it via wxSocketManager.

This is necessary to create different kinds of sockets for the console and GUI
applications under OS X: unlike Unix which use different socket managers for
the console and GUI programs but still use the same data structures in both
cases as X11 and derived toolkits APIs are very similar, Core Foundation
sockets don't have anything in common with their console counterparts and so
we need to use different wxSocketImpl versions too.

A side effect of this commit is that now we need to force linking of
src/msw/sockmsw.cpp when using sockets: this wasn't necessary before because
it contained wxSocketImpl method definition but now that there are no more
direct dependencies on it, MSVC linker simply discards the object file unless
we force it to link with it.

Notice that this commit doesn't change anything yet, it simply refactors the
code to use wxSocketManager::CreateSocket() instead of wxSocketImpl::Create()
in preparation for the next change.

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

14 years agoCreate both the full and OS X specific tag files in makeosxtags.sh.
Vadim Zeitlin [Sun, 16 Aug 2009 23:13:37 +0000 (23:13 +0000)] 
Create both the full and OS X specific tag files in makeosxtags.sh.

Also don't duplicate the files already processed by the generic create_tags in
OS X-specific part.

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

14 years agoFixed bug: wxPGProperty::SetName() crashed if it was called before property was added...
Jaakko Salli [Sun, 16 Aug 2009 15:17:50 +0000 (15:17 +0000)] 
Fixed bug: wxPGProperty::SetName() crashed if it was called before property was added to grid (fixes #11111)

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

14 years agoAdd samples files missing from distribution.
Vadim Zeitlin [Sun, 16 Aug 2009 13:32:11 +0000 (13:32 +0000)] 
Add samples files missing from distribution.

Mostly XPM icons but also a header from dataview sample.

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

14 years agoAdded workaround for VC6 internal compiler error (fixes #11104)
Jaakko Salli [Sat, 15 Aug 2009 05:30:18 +0000 (05:30 +0000)] 
Added workaround for VC6 internal compiler error (fixes #11104)

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

14 years agoRemove buildbot.css as it's never been used.
Michael Wetherell [Fri, 14 Aug 2009 19:09:55 +0000 (19:09 +0000)] 
Remove buildbot.css as it's never been used.

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

14 years agoRemove testdrive bots.
Michael Wetherell [Fri, 14 Aug 2009 18:57:15 +0000 (18:57 +0000)] 
Remove testdrive bots.

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

14 years agoAdd new unix bots.
Michael Wetherell [Fri, 14 Aug 2009 18:55:36 +0000 (18:55 +0000)] 
Add new unix bots.

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

14 years agoRename ravnsgaard.xml to unix.xml
Michael Wetherell [Fri, 14 Aug 2009 18:45:55 +0000 (18:45 +0000)] 
Rename ravnsgaard.xml to unix.xml

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

14 years agoAllow customizing wxDebugReportCompress output file.
Vadim Zeitlin [Fri, 14 Aug 2009 00:06:03 +0000 (00:06 +0000)] 
Allow customizing wxDebugReportCompress output file.

It may be useful to change the directory where it is generated to allow the
users to find it more quickly. Also allow changing the crash report base name
for completeness.

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

14 years agoAdded wxStandardPaths::MSWGetShellDir().
Vadim Zeitlin [Fri, 14 Aug 2009 00:05:56 +0000 (00:05 +0000)] 
Added wxStandardPaths::MSWGetShellDir().

This function allows to get the location of Windows shell special folders not
covered by wxStandardPaths methods (yet), e.g. CSIDL_DESKTOPDIRECTORY.

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

14 years agoMinor updates to Vietnamese translations.
Vadim Zeitlin [Thu, 13 Aug 2009 09:58:30 +0000 (09:58 +0000)] 
Minor updates to Vietnamese translations.

Patch from Trần Ngọc Quân.

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

14 years agoSet correct EOL style for .po files which didn't have it.
Vadim Zeitlin [Thu, 13 Aug 2009 09:50:57 +0000 (09:50 +0000)] 
Set correct EOL style for .po files which didn't have it.

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

14 years agoCreate compressed debug report file outside of temporary directory.
Vadim Zeitlin [Tue, 11 Aug 2009 18:16:39 +0000 (18:16 +0000)] 
Create compressed debug report file outside of temporary directory.

Otherwise the compressed file is deleted when the temporary directory is (it
doesn't happen if temporarily files are left because an error occurred while
the report generation but perversely enough no useful information was left if
no errors happened).

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

14 years agoUse the app name, not display name, as debug report name,
Vadim Zeitlin [Tue, 11 Aug 2009 18:16:32 +0000 (18:16 +0000)] 
Use the app name, not display name, as debug report name,

This name is used for files/directories and so should be short and not contain
spaces while the display name usually does contain them.

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

14 years agoDo not generate wxEVT_PG_SELECTED with direct ClearSelection() and SelectProperty...
Jaakko Salli [Tue, 11 Aug 2009 16:53:05 +0000 (16:53 +0000)] 
Do not generate wxEVT_PG_SELECTED with direct ClearSelection() and SelectProperty() calls

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

14 years agoAnother compilation fix after wxFlexGridSizer ctors change.
Vadim Zeitlin [Tue, 11 Aug 2009 10:54:40 +0000 (10:54 +0000)] 
Another compilation fix after wxFlexGridSizer ctors change.

wxFlexGridSizer ctor was even used incorrectly even in layout sample itself,
once again the code was supposed to create 3*3 sizer, not 3-column sizer with
3 pixel vertical gap.

Changed ctors to be more explicit and to use a 5 pixel gap in both directions.

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

14 years agoIf zero spacing after paragraph is explicitly specified, suppress spacing after parag...
Julian Smart [Tue, 11 Aug 2009 09:28:02 +0000 (09:28 +0000)] 
If zero spacing after paragraph is explicitly specified, suppress spacing after paragraph.

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

14 years agoCompilation fix after wxFlexGridSizer ctors change.
Vadim Zeitlin [Tue, 11 Aug 2009 00:19:03 +0000 (00:19 +0000)] 
Compilation fix after wxFlexGridSizer ctors change.

wxFlexGridSizer ctor was even used incorrectly in a wx sample: the sizer was
supposed to have 2 columns, not 4 with 2 pixels of vertical gap.

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

14 years agoReorganize and improve wxSizer::SetItemMinSize() documentation.
Vadim Zeitlin [Mon, 10 Aug 2009 11:18:45 +0000 (11:18 +0000)] 
Reorganize and improve wxSizer::SetItemMinSize() documentation.

Closes #11093.

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

14 years agoCorrect wxSizer::InsertSpacer() description.
Vadim Zeitlin [Mon, 10 Aug 2009 11:18:38 +0000 (11:18 +0000)] 
Correct wxSizer::InsertSpacer() description.

Closes #11092.

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

14 years agoUse "non-negative" in assert message instead of "positive".
Vadim Zeitlin [Mon, 10 Aug 2009 11:18:31 +0000 (11:18 +0000)] 
Use "non-negative" in assert message instead of "positive".

Closes #11059.

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

14 years agoUpdate wxFlexGridSizer ctors to match (new) wxGridSizer ones.
Vadim Zeitlin [Mon, 10 Aug 2009 11:18:23 +0000 (11:18 +0000)] 
Update wxFlexGridSizer ctors to match (new) wxGridSizer ones.

Confusing wxFlexGridSizer(int cols, int vgap = 0, int hgap = 0) was removed as
well as corresponding wxGridSizer ctor overload. New ctor overloads taking gap
as wxSize were added.

See #11040.

Closes #11091.

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

14 years agoMade wxWindow::HasScrollbar() do what it says.
Vadim Zeitlin [Mon, 10 Aug 2009 11:18:09 +0000 (11:18 +0000)] 
Made wxWindow::HasScrollbar() do what it says.

Added wxWindow::CanScroll() with the old HasScrollbar() meaning but changed
HasScrollbar() to check for the scrollbar existence instead of just checking
if it might exist.

Closes #10897.

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

14 years agoMark a couple of labels for translation.
Julian Smart [Sun, 9 Aug 2009 15:56:09 +0000 (15:56 +0000)] 
Mark a couple of labels for translation.

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

14 years agoFixed wxPGProperty ctor documentation
Jaakko Salli [Sun, 9 Aug 2009 09:14:29 +0000 (09:14 +0000)] 
Fixed wxPGProperty ctor documentation

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

14 years agoCorrect examples in wxStaticBox(Sizer) documentation.
Vadim Zeitlin [Fri, 7 Aug 2009 12:39:41 +0000 (12:39 +0000)] 
Correct examples in wxStaticBox(Sizer) documentation.

Added missing wxID_ANY in the control creation calls.

Also rephrase/extend the discussion about creating windows shown inside the
static box as its children or siblings.

Closes #11086.

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