]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
14 years agoWhen checking whether the parent has wxTAB_TRAVERSAL style, take into account that...
Jaakko Salli [Fri, 15 Jan 2010 17:19:54 +0000 (17:19 +0000)] 
When checking whether the parent has wxTAB_TRAVERSAL style, take into account that the wxComboCtrl can be part of a composite control

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

14 years agohonor wxMAXIMIZE frame style, fixes #11631
Paul Cornett [Fri, 15 Jan 2010 17:09:29 +0000 (17:09 +0000)] 
honor wxMAXIMIZE frame style, fixes #11631

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

14 years agoMore wx(Flex)GridSizer constructors documentation improvements.
Vadim Zeitlin [Thu, 14 Jan 2010 22:51:04 +0000 (22:51 +0000)] 
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.

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

14 years agoMinor corrections to wxFlexGridSizer ctor documentation.
Vadim Zeitlin [Thu, 14 Jan 2010 22:43:23 +0000 (22:43 +0000)] 
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".

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

14 years agofixing comments, making sure sound always gets the completion call in the same thread...
Stefan Csomor [Thu, 14 Jan 2010 19:04:38 +0000 (19:04 +0000)] 
fixing comments, making sure sound always gets the completion call in the same thread as it was created, otherwise iphone sometimes crashes

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

14 years agoNo real changes, just fix a typo in comments and documentation.
Vadim Zeitlin [Thu, 14 Jan 2010 18:02:26 +0000 (18:02 +0000)] 
No real changes, just fix a typo in comments and documentation.

Use "surprising" instead of (common) "surprizing" misspelling.

Closes #11627.

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

14 years agoFixed bug: wxPGEditor::SetControlAppearance() was calling SetValueToUnspecified(...
Jaakko Salli [Wed, 13 Jan 2010 18:29:09 +0000 (18:29 +0000)] 
Fixed bug: wxPGEditor::SetControlAppearance() was calling SetValueToUnspecified() unconditionally, disregarding value of 'unspecified' argument.

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

14 years agoCheck for a function existing in all libpng releases in configure.
Vadim Zeitlin [Tue, 12 Jan 2010 15:47:16 +0000 (15:47 +0000)] 
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.

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

14 years agoAdd wx/osx/textentry.h to the list of OS X headers.
Vadim Zeitlin [Tue, 12 Jan 2010 15:47:07 +0000 (15:47 +0000)] 
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.

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

14 years agoadding protocol support for 10.6
Stefan Csomor [Mon, 11 Jan 2010 14:19:28 +0000 (14:19 +0000)] 
adding protocol support for 10.6

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

14 years agoRemove duplicate fields in wxTextCtrl / wxTextEntry. Fixes #11618.
Kevin Ollivier [Sun, 10 Jan 2010 01:52:22 +0000 (01:52 +0000)] 
Remove duplicate fields in wxTextCtrl / wxTextEntry. Fixes #11618.

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

14 years agoUse GraphicsContext (if available) for drawing in SurfaceImpl::AlphaRectangle. Fixes...
Robin Dunn [Sun, 10 Jan 2010 00:40:49 +0000 (00:40 +0000)] 
Use GraphicsContext (if available) for drawing in SurfaceImpl::AlphaRectangle.  Fixes #10542.

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

14 years agoRebake.
Kevin Ollivier [Sat, 9 Jan 2010 19:56:18 +0000 (19:56 +0000)] 
Rebake.

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

14 years agoImplement native OS X ComboBox for OS X Cocoa, and implement wxTextEntry methods...
Kevin Ollivier [Sat, 9 Jan 2010 19:50:55 +0000 (19:50 +0000)] 
Implement native OS X ComboBox for OS X Cocoa, and implement wxTextEntry methods to share code between wxComboBox and wxTextCtrl.

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

14 years agoRestore default WM_ERASEBKGND handling for wxMDIParentFrame.
Vadim Zeitlin [Sat, 9 Jan 2010 17:57:52 +0000 (17:57 +0000)] 
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.

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

14 years agoMinor fixes and enhancements to wxWindowID documentation.
Vadim Zeitlin [Sat, 9 Jan 2010 17:39:45 +0000 (17:39 +0000)] 
Minor fixes and enhancements to wxWindowID documentation.

Document NewControlId() more precisely. Fix various spelling and grammar
problems.

Closes #11613.

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

14 years agoRebake.
Kevin Ollivier [Fri, 8 Jan 2010 18:20:39 +0000 (18:20 +0000)] 
Rebake.

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

14 years agofor file load/save, always try wxImage first, fallback to pixbuf
Paul Cornett [Fri, 8 Jan 2010 18:19:23 +0000 (18:19 +0000)] 
for file load/save, always try wxImage first, fallback to pixbuf

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

14 years agofix broken #elif
Paul Cornett [Fri, 8 Jan 2010 04:05:31 +0000 (04:05 +0000)] 
fix broken #elif

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

14 years agoSupport mouse click through as otherwise clicking inside an inactive window causes...
Kevin Ollivier [Fri, 8 Jan 2010 01:29:51 +0000 (01:29 +0000)] 
Support mouse click through as otherwise clicking inside an inactive window causes us to lose the first mouse down, unlike with MSW.

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

14 years agoImproved documentation for wxPGProperty::DoSetAttribute()
Jaakko Salli [Thu, 7 Jan 2010 19:43:12 +0000 (19:43 +0000)] 
Improved documentation for wxPGProperty::DoSetAttribute()

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

14 years agoFixed deprecation message (brings include file in line with the the interface)
Jaakko Salli [Thu, 7 Jan 2010 19:37:42 +0000 (19:37 +0000)] 
Fixed deprecation message (brings include file in line with the the interface)

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

14 years agoDo not use deprecated property attribute wxPG_ATTR_INLINE_HELP (fixes #11605)
Jaakko Salli [Thu, 7 Jan 2010 19:35:33 +0000 (19:35 +0000)] 
Do not use deprecated property attribute wxPG_ATTR_INLINE_HELP (fixes #11605)

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

14 years agoFixed a deprecation message
Jaakko Salli [Thu, 7 Jan 2010 19:31:56 +0000 (19:31 +0000)] 
Fixed a deprecation message

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

14 years agoremove unused function GetGdkVisual()
Paul Cornett [Thu, 7 Jan 2010 18:30:18 +0000 (18:30 +0000)] 
remove unused function GetGdkVisual()

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

14 years agodefer creating bitmap representation until it is needed
Paul Cornett [Thu, 7 Jan 2010 18:16:45 +0000 (18:16 +0000)] 
defer creating bitmap representation until it is needed

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

14 years agoImprove hit detection in wxMSW wxTreeCtrl with wxTR_FULL_ROW_HIGHLIGHT style.
Vadim Zeitlin [Thu, 7 Jan 2010 13:16:01 +0000 (13:16 +0000)] 
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...).

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

14 years agoGerman translations update from Thomas Krebs.
Vadim Zeitlin [Thu, 7 Jan 2010 13:15:51 +0000 (13:15 +0000)] 
German translations update from Thomas Krebs.

Closes #11562.

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

14 years agoFix typos in IMediaPlayer2 and INSPlay interfaces declarations.
Vadim Zeitlin [Thu, 7 Jan 2010 13:15:43 +0000 (13:15 +0000)] 
Fix typos in IMediaPlayer2 and INSPlay interfaces declarations.

Fix missing/extraneous parentheses.

Closes #11600.

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

14 years agoForward port 2.8 fix.
Kevin Ollivier [Wed, 6 Jan 2010 22:02:59 +0000 (22:02 +0000)] 
Forward port 2.8 fix.

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

14 years agoFix another line somehow missing from the wxGraphicsBitmap forward port.
Kevin Ollivier [Wed, 6 Jan 2010 02:22:38 +0000 (02:22 +0000)] 
Fix another line somehow missing from the wxGraphicsBitmap forward port.

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

14 years agoadded zlib directly to dynamic targets
Stefan Csomor [Tue, 5 Jan 2010 18:27:30 +0000 (18:27 +0000)] 
added zlib directly to dynamic targets

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

14 years agoremove never-implemented palette support
Paul Cornett [Tue, 5 Jan 2010 17:53:37 +0000 (17:53 +0000)] 
remove never-implemented palette support

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

14 years agoCall virtual ctrl->GetDefaultAttributes() instead of static GetClassDefaultAttributes()
Jaakko Salli [Tue, 5 Jan 2010 16:42:35 +0000 (16:42 +0000)] 
Call virtual ctrl->GetDefaultAttributes() instead of static GetClassDefaultAttributes()

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

14 years agoadded zlib directly to dynamic targets
Stefan Csomor [Tue, 5 Jan 2010 13:55:20 +0000 (13:55 +0000)] 
added zlib directly to dynamic targets

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

14 years agoadd zlib only in dynamic build targets
Stefan Csomor [Tue, 5 Jan 2010 13:54:44 +0000 (13:54 +0000)] 
add zlib only in dynamic build targets

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

14 years agoBrazilian Portuguese translations updae from Allann Jones.
Vadim Zeitlin [Tue, 5 Jan 2010 12:56:40 +0000 (12:56 +0000)] 
Brazilian Portuguese translations updae from Allann Jones.

Closes #11597.

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

14 years agoAllow wxPropertyGridInterface::EnableProperty() to work even if property->GetGrid...
Jaakko Salli [Mon, 4 Jan 2010 16:07:47 +0000 (16:07 +0000)] 
Allow wxPropertyGridInterface::EnableProperty() to work even if property->GetGrid() returns NULL.

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

14 years agoAdd assert checking that window has no event handlers when destroyed.
Vadim Zeitlin [Mon, 4 Jan 2010 12:51:48 +0000 (12:51 +0000)] 
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.

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

14 years agoFix wxConvAuto behaviour when it is used by wxTextInputStream.
Vadim Zeitlin [Mon, 4 Jan 2010 12:22:49 +0000 (12:22 +0000)] 
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.

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

14 years agoMake calling wxLog::IsAllowedTraceMask() safe during static init time.
Vadim Zeitlin [Mon, 4 Jan 2010 12:22:42 +0000 (12:22 +0000)] 
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.

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

14 years agoCompilation fix for VC6 after r63061.
Vadim Zeitlin [Mon, 4 Jan 2010 12:22:34 +0000 (12:22 +0000)] 
Compilation fix for VC6 after r63061.

VC6 doesn't support empty struct initializers apparently.

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

14 years agoCorrectly parse times without seconds in wxDateTime::ParseTime().
Vadim Zeitlin [Mon, 4 Jan 2010 11:05:47 +0000 (11:05 +0000)] 
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.

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

14 years agoDon't dereference invalid iterator in wxDateTime::ParseDate().
Vadim Zeitlin [Mon, 4 Jan 2010 10:59:40 +0000 (10:59 +0000)] 
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".

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

14 years agofixing include type
Stefan Csomor [Mon, 4 Jan 2010 10:08:01 +0000 (10:08 +0000)] 
fixing include type

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

14 years agoadding stc support
Stefan Csomor [Mon, 4 Jan 2010 07:53:45 +0000 (07:53 +0000)] 
adding stc support

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

14 years agoadding kqueue define for xcode builds
Stefan Csomor [Mon, 4 Jan 2010 07:52:45 +0000 (07:52 +0000)] 
adding kqueue define for xcode builds

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

14 years agofixing include types
Stefan Csomor [Mon, 4 Jan 2010 07:50:31 +0000 (07:50 +0000)] 
fixing include types

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

14 years agoGet the OS X Cocoa native combobox building by having the native code compile if...
Kevin Ollivier [Mon, 4 Jan 2010 01:57:42 +0000 (01:57 +0000)] 
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.

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

14 years agoRebake from clean wx tree.
Kevin Ollivier [Mon, 4 Jan 2010 00:45:45 +0000 (00:45 +0000)] 
Rebake from clean wx tree.

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

14 years agoDon't use a destroy event handler to disconnect the native control's delegate as...
Kevin Ollivier [Sun, 3 Jan 2010 23:59:32 +0000 (23:59 +0000)] 
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.

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

14 years agoCreate a text measuring context until a real context is assigned, this allows things...
Kevin Ollivier [Sun, 3 Jan 2010 22:52:04 +0000 (22:52 +0000)] 
Create a text measuring context until a real context is assigned, this allows things like text measurement code using wxMemoryDC to work on Mac.

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

14 years agocorrecting error message
Stefan Csomor [Sun, 3 Jan 2010 19:58:18 +0000 (19:58 +0000)] 
correcting error message

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

14 years agofixing name collision ocuring in a specific script runner
Stefan Csomor [Sun, 3 Jan 2010 18:55:00 +0000 (18:55 +0000)] 
fixing name collision ocuring in a specific script runner

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

14 years agoRemoved some outdated compiler checks in OLE code.
Václav Slavík [Sun, 3 Jan 2010 18:29:09 +0000 (18:29 +0000)] 
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.

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

14 years agoRemoved wxClearVariant() and wxReleaseVariant().
Václav Slavík [Sun, 3 Jan 2010 18:29:02 +0000 (18:29 +0000)] 
Removed wxClearVariant() and wxReleaseVariant().

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

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

14 years agoMoved wxConvertVariantToOle and wxConvertOleToVariant to oleutils.cpp.
Václav Slavík [Sun, 3 Jan 2010 18:28:56 +0000 (18:28 +0000)] 
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.

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

14 years agobuilding xcode projects from files.bkl
Stefan Csomor [Sun, 3 Jan 2010 18:20:28 +0000 (18:20 +0000)] 
building xcode projects from files.bkl

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

14 years agoRomanian translation update from Catalin.
Vadim Zeitlin [Sun, 3 Jan 2010 17:37:24 +0000 (17:37 +0000)] 
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).

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

14 years agoAdded missing ResetEditorAppearance() call
Jaakko Salli [Sun, 3 Jan 2010 10:24:12 +0000 (10:24 +0000)] 
Added missing ResetEditorAppearance() call

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

14 years agoIn wxPGEditor::SetControlAppearance() use GetClassDefaultAttributes() instead of...
Jaakko Salli [Sun, 3 Jan 2010 10:23:40 +0000 (10:23 +0000)] 
In wxPGEditor::SetControlAppearance() use GetClassDefaultAttributes() instead of GetDefaultAttributes()

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

14 years agoAdded wxAutoOleInterface<T> template.
Václav Slavík [Sat, 2 Jan 2010 13:07:17 +0000 (13:07 +0000)] 
Added wxAutoOleInterface<T> template.

This replaces WX_DECLARE_AUTOOLE with easier-to-debug version. The
macro is still preserved for backward compatibility.

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

14 years ago Document wxPerl interface differences for wxRichTextCtrl.
Mattia Barbon [Sat, 2 Jan 2010 11:29:00 +0000 (11:29 +0000)] 
  Document wxPerl interface differences for wxRichTextCtrl.

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

14 years ago Build with WXINTL_NO_GETTEXT_MACRO defined.
Mattia Barbon [Sat, 2 Jan 2010 11:22:59 +0000 (11:22 +0000)] 
  Build with WXINTL_NO_GETTEXT_MACRO defined.

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

14 years ago Fix method name in wxInfoBar interface.
Mattia Barbon [Sat, 2 Jan 2010 10:40:31 +0000 (10:40 +0000)] 
  Fix method name in wxInfoBar interface.

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

14 years agoChange the year in copyright messages to 2010.
Vadim Zeitlin [Thu, 31 Dec 2009 13:36:23 +0000 (13:36 +0000)] 
Change the year in copyright messages to 2010.

Happy new year to all wx-ers!

Closes #11584.

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

14 years agoAdd wxWinVersion_7 to the private wxMSW wxWinVersion enum.
Vadim Zeitlin [Thu, 31 Dec 2009 13:32:13 +0000 (13:32 +0000)] 
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.

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

14 years agoadding placeholders and work in progress files
Stefan Csomor [Thu, 31 Dec 2009 08:39:13 +0000 (08:39 +0000)] 
adding placeholders and work in progress files

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

14 years agoFix issue that was causing ShowWithoutActivating to indirectly call wxNonOwnedWindow...
Kevin Ollivier [Wed, 30 Dec 2009 23:40:01 +0000 (23:40 +0000)] 
Fix issue that was causing ShowWithoutActivating to indirectly call wxNonOwnedWindow::Show.

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

14 years agoAdd another test for sparse file support so that the large file tests can run
Michael Wetherell [Wed, 30 Dec 2009 17:44:09 +0000 (17:44 +0000)] 
Add another test for sparse file support so that the large file tests can run
as part of the default suite for more platforms.

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

14 years agoTo support playing async sounds on the stack on Mac, do not delete the wxSoundData...
Kevin Ollivier [Wed, 30 Dec 2009 17:41:29 +0000 (17:41 +0000)] 
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.

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

14 years agoRepair the stream tests.
Michael Wetherell [Wed, 30 Dec 2009 17:39:47 +0000 (17:39 +0000)] 
Repair the stream tests.

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

14 years agoSupport large files with stdio on mingw.
Michael Wetherell [Wed, 30 Dec 2009 17:38:22 +0000 (17:38 +0000)] 
Support large files with stdio on mingw.

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

14 years agowxOwnerDrawComboCtrl -> wxComboCtrl
Jaakko Salli [Wed, 30 Dec 2009 17:07:16 +0000 (17:07 +0000)] 
wxOwnerDrawComboCtrl -> wxComboCtrl

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

14 years agoUpdated entries regarding wxPropertyGridManager
Jaakko Salli [Wed, 30 Dec 2009 17:06:36 +0000 (17:06 +0000)] 
Updated entries regarding wxPropertyGridManager

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

14 years agoDon't create an invalid iterator in wxDateTime::ParseTime().
Vadim Zeitlin [Wed, 30 Dec 2009 13:46:27 +0000 (13:46 +0000)] 
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).

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

14 years agoExplicitly mention MSVC std::fstream(wxString) incompatibility issue.
Vadim Zeitlin [Wed, 30 Dec 2009 13:38:06 +0000 (13:38 +0000)] 
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.

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

14 years agofixing SetSubMenu for OSX_Cocoa, fixes #11581
Stefan Csomor [Wed, 30 Dec 2009 08:35:01 +0000 (08:35 +0000)] 
fixing SetSubMenu for OSX_Cocoa, fixes #11581

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

14 years agoChanged wxPropertyCategory to use same cell rendering code as regular properties...
Jaakko Salli [Tue, 29 Dec 2009 16:04:40 +0000 (16:04 +0000)] 
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.

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

14 years agoEnsure that frame is re-laid out when its toolbar is deleted.
Vadim Zeitlin [Mon, 28 Dec 2009 16:18:37 +0000 (16:18 +0000)] 
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.

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

14 years agoCorrect initial value of "Toggle toolbar" check menu item in the sample.
Vadim Zeitlin [Mon, 28 Dec 2009 16:18:30 +0000 (16:18 +0000)] 
Correct initial value of "Toggle toolbar" check menu item in the sample.

This item should initially be checked because the toolbar is initially shown.

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

14 years agoAccount for cells spanning multiple grid cells better when autosizing.
Vadim Zeitlin [Sun, 27 Dec 2009 19:40:46 +0000 (19:40 +0000)] 
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.

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

14 years agoReturn the kind of cells span from wxGrid::GetCellSize().
Vadim Zeitlin [Sun, 27 Dec 2009 19:40:41 +0000 (19:40 +0000)] 
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.

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

14 years agoDon't call SetMinSize() when creating the window if no initial size was given.
Vadim Zeitlin [Sun, 27 Dec 2009 19:40:28 +0000 (19:40 +0000)] 
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.

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

14 years agoAvoid defining COMPILER_PREFIX for autoconf format.
Vadim Zeitlin [Sun, 27 Dec 2009 19:40:22 +0000 (19:40 +0000)] 
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.

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

14 years agoCorrect wxUSE_MACOSX_VERSION_MIN setting when running under OS X 10.4.
Vadim Zeitlin [Sun, 27 Dec 2009 19:40:15 +0000 (19:40 +0000)] 
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.

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

14 years agoDocument wxString::operator<<(wxUniChar).
Vadim Zeitlin [Sun, 27 Dec 2009 19:40:08 +0000 (19:40 +0000)] 
Document wxString::operator<<(wxUniChar).

wxUniChar overload was somehow omitted from the list.

Closes #11568.

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

14 years agoOverride some methods in wxF(F)ileStream to resolve ambiguities.
Vadim Zeitlin [Sun, 27 Dec 2009 19:39:55 +0000 (19:39 +0000)] 
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.

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

14 years agoTake into account the initial buttons state when creating wxGTK toolbar.
Vadim Zeitlin [Sat, 26 Dec 2009 16:36:39 +0000 (16:36 +0000)] 
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.

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

14 years agoDon't forward declare wxSystemColour enum.
Vadim Zeitlin [Sat, 26 Dec 2009 16:36:32 +0000 (16:36 +0000)] 
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.

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

14 years agoNo changes, just fix a typo in and rephrase a comment.
Vadim Zeitlin [Sat, 26 Dec 2009 16:36:26 +0000 (16:36 +0000)] 
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.

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

14 years agoReduced unnecessary wxT usage
Jaakko Salli [Sat, 26 Dec 2009 10:51:39 +0000 (10:51 +0000)] 
Reduced unnecessary wxT usage

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

14 years agoReplaced 'InlineHelp' property attribute with 'Hint'; Use SetHint() wxTextCtrl and...
Jaakko Salli [Sat, 26 Dec 2009 10:45:04 +0000 (10:45 +0000)] 
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

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

14 years agoAdded wxComboCtrl::SetHint(), GetHint()
Jaakko Salli [Sat, 26 Dec 2009 10:33:35 +0000 (10:33 +0000)] 
Added wxComboCtrl::SetHint(), GetHint()

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

14 years agoRemove the native toolbar from the frame in Destroy() rather than the destructor...
Kevin Ollivier [Fri, 25 Dec 2009 20:43:43 +0000 (20:43 +0000)] 
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.

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

14 years agoUse NSTrackingArea when available (building for 10.5+) so that we can get mouse moved...
Kevin Ollivier [Fri, 25 Dec 2009 20:40:05 +0000 (20:40 +0000)] 
Use NSTrackingArea when available (building for 10.5+) so that we can get mouse moved events for inactive / non-focused windows too.

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

14 years agoAlways show hint in text entries, even when they have focus.
Vadim Zeitlin [Fri, 25 Dec 2009 11:36:54 +0000 (11:36 +0000)] 
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.

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

14 years agoremoving event handlers on non-owned windows when the destroy event is sent
Stefan Csomor [Fri, 25 Dec 2009 09:47:30 +0000 (09:47 +0000)] 
removing event handlers on non-owned windows when the destroy event is sent

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

14 years agoRefactored a very confusing condition in wxPGComboBox item paint code
Jaakko Salli [Fri, 25 Dec 2009 09:18:04 +0000 (09:18 +0000)] 
Refactored a very confusing condition in wxPGComboBox item paint code

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

14 years agoAdded wxComboCtrlBase::SetFore/BackgroundColour()
Jaakko Salli [Fri, 25 Dec 2009 09:04:53 +0000 (09:04 +0000)] 
Added wxComboCtrlBase::SetFore/BackgroundColour()

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