]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agopartial support for border metrics of non-TLW
Paul Cornett [Fri, 17 Oct 2008 04:36:09 +0000 (04:36 +0000)] 
partial support for border metrics of non-TLW

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

16 years agoAssert that a mode style *is* set, not that one isn't set.
Robin Dunn [Thu, 16 Oct 2008 22:37:58 +0000 (22:37 +0000)] 
Assert that a mode style *is* set, not that one isn't set.

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

16 years agoCrop image a little
Robert Roebling [Thu, 16 Oct 2008 22:23:23 +0000 (22:23 +0000)] 
Crop image a little

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

16 years agoEnable intercepting ENTER in wxSpinCtrl under wxMac by using wxTE_PROCESS_ENTER
Robert Roebling [Thu, 16 Oct 2008 22:18:04 +0000 (22:18 +0000)] 
Enable intercepting ENTER in wxSpinCtrl under wxMac by using wxTE_PROCESS_ENTER

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

16 years agoDont't finish any editing if there is no control
Robert Roebling [Thu, 16 Oct 2008 21:32:26 +0000 (21:32 +0000)] 
Dont't finish any editing if there is no control

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

16 years agoforgot to commit toplevel.h as part of r56374
Václav Slavík [Thu, 16 Oct 2008 20:20:52 +0000 (20:20 +0000)] 
forgot to commit toplevel.h as part of r56374

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

16 years agoRemove accidentally commited debug code
Robert Roebling [Thu, 16 Oct 2008 19:20:37 +0000 (19:20 +0000)] 
Remove accidentally commited debug code

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

16 years agoMake wxMac wxSpinCtrl emit killfocus events
Robert Roebling [Thu, 16 Oct 2008 19:19:48 +0000 (19:19 +0000)] 
Make wxMac wxSpinCtrl emit killfocus events

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

16 years agoassert in wxTopLevelWindowMSW::SetIcon[s]() if none of the provided icons has require...
Václav Slavík [Thu, 16 Oct 2008 19:13:32 +0000 (19:13 +0000)] 
assert in wxTopLevelWindowMSW::SetIcon[s]() if none of the provided icons has required size

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

16 years agowxArtProvider cleanup: added artmsw.cpp accidentally missing from r56372
Václav Slavík [Thu, 16 Oct 2008 19:10:55 +0000 (19:10 +0000)] 
wxArtProvider cleanup: added artmsw.cpp accidentally missing from r56372

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

16 years agoCleaned up wxArtProvider:
Václav Slavík [Thu, 16 Oct 2008 19:07:42 +0000 (19:07 +0000)] 
Cleaned up wxArtProvider:
1. Move platform-specific code for both GetSizeHint() and GetBitmap()
   into platform-specific files.
2. Introduced GetNativeSizeHint() to make native sizes better accessible,
   without having to understand weird GetSizeHint() semantics.
3. Fixed GetNativeSizeHint() to return sensible values in non-GTK ports;
   it returns wxDefaultSize if it can't make a good guess instead of
   returning arbitrary value.
4. Use 16x16 icons on MSW instead of 16x15: it works and is more
   'natural' size.

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

16 years agoWrite directly to log target wxTextCtrl to avoid crash
Robert Roebling [Thu, 16 Oct 2008 18:27:16 +0000 (18:27 +0000)] 
Write directly to log target wxTextCtrl to avoid crash

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

16 years agowxMac actually crashes in any logging
Robert Roebling [Thu, 16 Oct 2008 18:17:56 +0000 (18:17 +0000)] 
wxMac actually crashes in any logging

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

16 years agowxMac crashes in wxLog() statements with string.GetData()
Robert Roebling [Thu, 16 Oct 2008 18:06:58 +0000 (18:06 +0000)] 
wxMac crashes in wxLog() statements with string.GetData()

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

16 years agoFudge offset no longer required
Robert Roebling [Thu, 16 Oct 2008 18:05:44 +0000 (18:05 +0000)] 
Fudge offset no longer required

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

16 years agoFixed broken wxMultiChoiceProperty::ValueToString()
Jaakko Salli [Thu, 16 Oct 2008 17:36:07 +0000 (17:36 +0000)] 
Fixed broken wxMultiChoiceProperty::ValueToString()

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

16 years agoAdd maximum width for sample's frame
Jaakko Salli [Thu, 16 Oct 2008 17:31:46 +0000 (17:31 +0000)] 
Add maximum width for sample's frame

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

16 years agoUpdate 'intro' comment in propgrid sample
Jaakko Salli [Thu, 16 Oct 2008 17:24:27 +0000 (17:24 +0000)] 
Update 'intro' comment in propgrid sample

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

16 years agoAdded virtual wxPGProperty::ValueToString(). In derived property classes, now it...
Jaakko Salli [Thu, 16 Oct 2008 17:19:50 +0000 (17:19 +0000)] 
Added virtual wxPGProperty::ValueToString(). In derived property classes, now it must be implemented instead of GetValueAsString (assertion failure is raised at run-time if you fail to do so). This change is needed to properly support wxEVT_PG_CHANGING for nested composite string properties. wxPGProperty::GenerateComposedValue() partially updated to support this.

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

16 years agofix PCH in VC8 projects (until the next rebake...)
Vadim Zeitlin [Thu, 16 Oct 2008 16:20:31 +0000 (16:20 +0000)] 
fix PCH in VC8 projects (until the next rebake...)

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

16 years agoadd very simple (but already exposing many problems) wxIPC benchmark
Vadim Zeitlin [Thu, 16 Oct 2008 12:35:03 +0000 (12:35 +0000)] 
add very simple (but already exposing many problems) wxIPC benchmark

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

16 years agoallow specifying initialization and cleanup functions for benchmarks
Vadim Zeitlin [Thu, 16 Oct 2008 12:34:47 +0000 (12:34 +0000)] 
allow specifying initialization and cleanup functions for benchmarks

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

16 years agomade Dispatch() return bool indicating whether we processed any events inside it...
Vadim Zeitlin [Thu, 16 Oct 2008 12:33:05 +0000 (12:33 +0000)] 
made Dispatch() return bool indicating whether we processed any events inside it or if the timeout expired

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

16 years agoDispatch() must dispatch the real events and not only the pending ones accumulated...
Vadim Zeitlin [Thu, 16 Oct 2008 12:32:39 +0000 (12:32 +0000)] 
Dispatch() must dispatch the real events and not only the pending ones accumulated in wxApp

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

16 years agoadded wxConnection::IsTextFormat()
Vadim Zeitlin [Thu, 16 Oct 2008 12:32:06 +0000 (12:32 +0000)] 
added wxConnection::IsTextFormat()

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

16 years agomade Dispatch() return bool indicating whether we processed any events inside it...
Vadim Zeitlin [Thu, 16 Oct 2008 12:31:30 +0000 (12:31 +0000)] 
made Dispatch() return bool indicating whether we processed any events inside it or if the timeout expired

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

16 years agono changes, just removed _T()s and unnecessary wxUnusedVar()s
Vadim Zeitlin [Thu, 16 Oct 2008 12:07:35 +0000 (12:07 +0000)] 
no changes, just removed _T()s and unnecessary wxUnusedVar()s

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

16 years agoremove obsolete makefiles
Vadim Zeitlin [Thu, 16 Oct 2008 10:02:45 +0000 (10:02 +0000)] 
remove obsolete makefiles

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

16 years agodisable VC6 warning C4284; put all warning disable pragmas together
Vadim Zeitlin [Thu, 16 Oct 2008 09:13:16 +0000 (09:13 +0000)] 
disable VC6 warning C4284; put all warning disable pragmas together

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

16 years agoreverted broken changes from r56345 and r56349
Václav Slavík [Thu, 16 Oct 2008 08:15:56 +0000 (08:15 +0000)] 
reverted broken changes from r56345 and r56349

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

16 years agosimplify code by using wxGTKPrivate::GetButtonWidget()
Paul Cornett [Thu, 16 Oct 2008 03:57:39 +0000 (03:57 +0000)] 
simplify code by using wxGTKPrivate::GetButtonWidget()

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

16 years agocompilation fix for older glib versions after r56345
Václav Slavík [Wed, 15 Oct 2008 21:10:56 +0000 (21:10 +0000)] 
compilation fix for older glib versions after r56345

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

16 years agoreset deferred position/size if the window was moved immediately (#10073)
Vadim Zeitlin [Wed, 15 Oct 2008 21:03:40 +0000 (21:03 +0000)] 
reset deferred position/size if the window was moved immediately (#10073)

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

16 years agoimplement GetSizeAvailableForScrollTarget() in MyScrolledWindow
Vadim Zeitlin [Wed, 15 Oct 2008 19:39:27 +0000 (19:39 +0000)] 
implement GetSizeAvailableForScrollTarget() in MyScrolledWindow

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

16 years agodocument GetSizeAvailableForScrollTarget()
Vadim Zeitlin [Wed, 15 Oct 2008 19:33:00 +0000 (19:33 +0000)] 
document GetSizeAvailableForScrollTarget()

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

16 years agodon't use deprecated gtk_object_sink(), replace it with g_object_ref_sink()
Václav Slavík [Wed, 15 Oct 2008 19:14:46 +0000 (19:14 +0000)] 
don't use deprecated gtk_object_sink(), replace it with g_object_ref_sink()

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

16 years agono need to iterate over all special icon names after a match was found, there won...
Václav Slavík [Wed, 15 Oct 2008 18:49:47 +0000 (18:49 +0000)] 
no need to iterate over all special icon names after a match was found, there won't be another one

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

16 years agoRemoved traces of wxFormBuilder from the screenshotgen utility, cleaned up some depen...
Bryan Petty [Wed, 15 Oct 2008 18:49:22 +0000 (18:49 +0000)] 
Removed traces of wxFormBuilder from the screenshotgen utility, cleaned up some dependencies in headers, and replaced a few sparse tabs with spaces.
Also applied patch #10083 (VC6 build fixes for screenshotgen).

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

16 years agoUpdate make dist
Robert Roebling [Wed, 15 Oct 2008 18:39:21 +0000 (18:39 +0000)] 
Update make dist

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

16 years agoFor some reason, wxMac now requires explicit sizes in this sample
Robert Roebling [Wed, 15 Oct 2008 16:56:14 +0000 (16:56 +0000)] 
For some reason, wxMac now requires explicit sizes in this sample

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

16 years agoAdded wxMac screenshot from wxDataViewTreeCtrl
Robert Roebling [Wed, 15 Oct 2008 16:45:46 +0000 (16:45 +0000)] 
Added wxMac screenshot from wxDataViewTreeCtrl

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

16 years agoRemoved unneeded wxPG_INHERITED_PROPFLAGS
Jaakko Salli [Wed, 15 Oct 2008 16:13:23 +0000 (16:13 +0000)] 
Removed unneeded wxPG_INHERITED_PROPFLAGS

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

16 years agoRemove old workarounds to get cut, copy, and paste working in embedded wxTextCtrl
Jaakko Salli [Wed, 15 Oct 2008 16:07:26 +0000 (16:07 +0000)] 
Remove old workarounds to get cut, copy, and paste working in embedded wxTextCtrl

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

16 years agoadded a test to check if wxHtmlWindow::SelectionToText() inserts \n characters correctly
Václav Slavík [Wed, 15 Oct 2008 15:55:25 +0000 (15:55 +0000)] 
added a test to check if wxHtmlWindow::SelectionToText() inserts \n characters correctly

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

16 years agofixed wxHtmlWindow::SelectionToText() to correctly insert newlines after single-cell...
Václav Slavík [Wed, 15 Oct 2008 15:43:45 +0000 (15:43 +0000)] 
fixed wxHtmlWindow::SelectionToText() to correctly insert newlines after single-cell paragraphs

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

16 years agointerface header revisions
Francesco Montorsi [Wed, 15 Oct 2008 15:36:15 +0000 (15:36 +0000)] 
interface header revisions

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

16 years agoFixed problem with Croation input due to confusion of WXK_... values and character...
Julian Smart [Wed, 15 Oct 2008 14:39:04 +0000 (14:39 +0000)] 
Fixed problem with Croation input due to confusion of WXK_... values and character values.

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

16 years agoupdate XPM variable names for docview sample
Jouk Jansen [Wed, 15 Oct 2008 11:40:55 +0000 (11:40 +0000)] 
update XPM variable names for docview sample

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

16 years agobase new timer expiration time on current time, not on the previous expiration time
Vadim Zeitlin [Wed, 15 Oct 2008 11:39:04 +0000 (11:39 +0000)] 
base new timer expiration time on current time, not on the previous expiration time

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

16 years agocompilation fix for wxUSE_STD_IOSTREAM==0
Vadim Zeitlin [Wed, 15 Oct 2008 11:22:53 +0000 (11:22 +0000)] 
compilation fix for wxUSE_STD_IOSTREAM==0

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

16 years agoAdded wxSearchCtrl, typos corrected
Robert Roebling [Wed, 15 Oct 2008 10:22:23 +0000 (10:22 +0000)] 
Added wxSearchCtrl, typos corrected

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

16 years agoCrop images a little
Robert Roebling [Wed, 15 Oct 2008 09:52:23 +0000 (09:52 +0000)] 
Crop images a little

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

16 years agoAdd appearance tags
Robert Roebling [Wed, 15 Oct 2008 09:49:58 +0000 (09:49 +0000)] 
Add appearance tags

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

16 years agoAdd wxPropertyGrid screenshots
Robert Roebling [Wed, 15 Oct 2008 09:47:37 +0000 (09:47 +0000)] 
Add wxPropertyGrid screenshots

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

16 years agoAdd wxSearchCtrl screenshots
Robert Roebling [Wed, 15 Oct 2008 09:47:03 +0000 (09:47 +0000)] 
Add wxSearchCtrl screenshots

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

16 years agoRepaired togglebutton images
Robert Roebling [Wed, 15 Oct 2008 09:46:42 +0000 (09:46 +0000)] 
Repaired togglebutton images

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

16 years agoMention why fudgefactor for wxODBC position under wxMac is required
Robert Roebling [Wed, 15 Oct 2008 08:37:15 +0000 (08:37 +0000)] 
Mention why fudgefactor for wxODBC position under wxMac is required

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

16 years agooutput the list of the undocumented wx classes
Francesco Montorsi [Tue, 14 Oct 2008 20:08:11 +0000 (20:08 +0000)] 
output the list of the undocumented wx classes

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

16 years agofurther additions to avoid false warnings (ActsAsDefaultCtor, better wxArgumentType...
Francesco Montorsi [Tue, 14 Oct 2008 19:49:48 +0000 (19:49 +0000)] 
further additions to avoid false warnings (ActsAsDefaultCtor, better wxArgumentType::SetDefaultValue)

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

16 years agoenable more wx stuff when using gcc xml
Francesco Montorsi [Tue, 14 Oct 2008 19:48:50 +0000 (19:48 +0000)] 
enable more wx stuff when using gcc xml

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

16 years agomisc fixes to function signatures
Francesco Montorsi [Tue, 14 Oct 2008 19:48:14 +0000 (19:48 +0000)] 
misc fixes to function signatures

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

16 years agoclarify the usage of debug macros, in particular for wxFAIL (which doesn't need ...
Francesco Montorsi [Tue, 14 Oct 2008 19:40:39 +0000 (19:40 +0000)] 
clarify the usage of debug macros, in particular for wxFAIL (which doesn't need () brackets) as reported by Jim Battle

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

16 years agoAdd a fudge factor to the size of wxODBC in wxProperty under
Robert Roebling [Tue, 14 Oct 2008 19:37:51 +0000 (19:37 +0000)] 
Add a fudge factor to the size of wxODBC in wxProperty under
wxMac. I've been unable to find out what shrinks the control
under wxMac.

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

16 years agowxPGProperty::AddChild() can now be used to add normal child properties (previously...
Jaakko Salli [Tue, 14 Oct 2008 17:15:59 +0000 (17:15 +0000)] 
wxPGProperty::AddChild() can now be used to add normal child properties (previously it was only used to add private children of derived property classes such as wxFontProperty and wxFlagsProperty). However, to allow backwards compatibility, SetParentalStyle(wxPG_PROP_MISC_PARENT) needs to be called before doing so. Also done: merged property initialization code from PrepareToAddItem() and PrepareSubProperties() to InitAfterAdded().

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

16 years agofix bugs in FindFirst() (it gets URL, not filename, on input) and FindNext() (which...
Vadim Zeitlin [Tue, 14 Oct 2008 14:13:15 +0000 (14:13 +0000)] 
fix bugs in FindFirst() (it gets URL, not filename, on input) and FindNext() (which always forgot the last match) (fixes #10077)

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

16 years agoadded -1 (a.k.a. --single) command line option
Vadim Zeitlin [Tue, 14 Oct 2008 13:34:02 +0000 (13:34 +0000)] 
added -1 (a.k.a. --single) command line option

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

16 years agono real changes, just come cleanup (use constants instead of hardcoded values; remove...
Vadim Zeitlin [Tue, 14 Oct 2008 13:29:26 +0000 (13:29 +0000)] 
no real changes, just come cleanup (use constants instead of hardcoded values; remove _T()s; don't allocate things on the heap unnecessarily; don't make members public or protected

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

16 years agoCorrect positioning of wxTextCtrl in wxPropertyGrid for wxMac
Robert Roebling [Tue, 14 Oct 2008 12:32:01 +0000 (12:32 +0000)] 
Correct positioning of wxTextCtrl in wxPropertyGrid for wxMac

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

16 years agoadded wxXmlResource::FindXRCIDById() (#10026)
Vadim Zeitlin [Tue, 14 Oct 2008 11:44:10 +0000 (11:44 +0000)] 
added wxXmlResource::FindXRCIDById() (#10026)

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

16 years agoAlso correct wxDList<T>
Robert Roebling [Tue, 14 Oct 2008 09:43:53 +0000 (09:43 +0000)] 
Also correct wxDList<T>

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

16 years agoFix off-by-1 error in wxChoice and wxComboBox (OSX reports 1 as 0)
Robert Roebling [Tue, 14 Oct 2008 09:31:10 +0000 (09:31 +0000)] 
Fix off-by-1 error in wxChoice and wxComboBox (OSX reports 1 as 0)

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

16 years agoCorrected some wxMac images
Robert Roebling [Tue, 14 Oct 2008 09:07:43 +0000 (09:07 +0000)] 
Corrected some wxMac images

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

16 years agofix the bug in insert(end(), value) and added unit test for it
Vadim Zeitlin [Tue, 14 Oct 2008 09:04:52 +0000 (09:04 +0000)] 
fix the bug in insert(end(), value) and added unit test for it

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

16 years agoremove default value for the last parameter of insert(it, idx, value) which allowed...
Vadim Zeitlin [Tue, 14 Oct 2008 08:59:05 +0000 (08:59 +0000)] 
remove default value for the last parameter of insert(it, idx, value) which allowed insert(it, 17) to compile for lists of any type

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

16 years agoShrink screenshots a little
Robert Roebling [Tue, 14 Oct 2008 08:08:59 +0000 (08:08 +0000)] 
Shrink screenshots a little

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

16 years agomake the default value of numeric parameter 0, not 1, to make testing for it more...
Vadim Zeitlin [Mon, 13 Oct 2008 22:25:51 +0000 (22:25 +0000)] 
make the default value of numeric parameter 0, not 1, to make testing for it more natural; also allow passing string parameter to the benchmarks

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

16 years agoadd appearance tag to book controls
Robert Roebling [Mon, 13 Oct 2008 19:55:46 +0000 (19:55 +0000)] 
add appearance tag to book controls

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

16 years agoAdd screenshots for wxNotebook, wxChoicebook, wxListbook
Robert Roebling [Mon, 13 Oct 2008 19:53:10 +0000 (19:53 +0000)] 
Add screenshots for wxNotebook, wxChoicebook, wxListbook

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

16 years agoAdded screenshots for wxSpinCtrlDouble
Robert Roebling [Mon, 13 Oct 2008 19:22:04 +0000 (19:22 +0000)] 
Added screenshots for wxSpinCtrlDouble

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

16 years agoAdd appearance of wxSpinCtrlDouble
Robert Roebling [Mon, 13 Oct 2008 19:13:18 +0000 (19:13 +0000)] 
Add appearance of wxSpinCtrlDouble

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

16 years agoAdd screenshots for wxDataViewTreeCtrl
Robert Roebling [Mon, 13 Oct 2008 18:52:19 +0000 (18:52 +0000)] 
Add screenshots for wxDataViewTreeCtrl

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

16 years agoCorrected library association
Robert Roebling [Mon, 13 Oct 2008 18:50:54 +0000 (18:50 +0000)] 
Corrected library association

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

16 years agoAdded wxDataViewCtrl screenshots
Robert Roebling [Mon, 13 Oct 2008 18:44:11 +0000 (18:44 +0000)] 
Added wxDataViewCtrl screenshots

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

16 years agoAdded documentation screenshots of wxMac controls.
Bryan Petty [Mon, 13 Oct 2008 17:40:26 +0000 (17:40 +0000)] 
Added documentation screenshots of wxMac controls.

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

16 years agofix final note language
Vadim Zeitlin [Mon, 13 Oct 2008 15:27:13 +0000 (15:27 +0000)] 
fix final note language

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

16 years agoremove green colour from literal strings, this is annoyingly distracting for common...
Vadim Zeitlin [Mon, 13 Oct 2008 15:25:37 +0000 (15:25 +0000)] 
remove green colour from literal strings, this is annoyingly distracting for common things like true/false/NULL

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

16 years agomisc fixes of ctor signatures
Francesco Montorsi [Mon, 13 Oct 2008 13:46:42 +0000 (13:46 +0000)] 
misc fixes of ctor signatures

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

16 years agono real changes, just also rename _Read/_Write() to DoRead/DoWrite() and clean them...
Vadim Zeitlin [Mon, 13 Oct 2008 13:24:48 +0000 (13:24 +0000)] 
no real changes, just also rename _Read/_Write() to DoRead/DoWrite() and clean them a little more too

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

16 years agoautomated changes: many (pure) virtual specifiers added
Francesco Montorsi [Mon, 13 Oct 2008 13:24:43 +0000 (13:24 +0000)] 
automated changes: many (pure) virtual specifiers added

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

16 years agoCleanup of wxSocket::_Wait():
Vadim Zeitlin [Mon, 13 Oct 2008 13:00:49 +0000 (13:00 +0000)] 
Cleanup of wxSocket::_Wait():
 - Rename to DoWait() to avoid symbols starting with underscores.
 - Added comments explaining how does it work.
 - Remove the pointless timeout manipulations: GSocket::Select() doesn't
   use timeout (any more?) anyhow.

Also pass GSOCK_LOST_FLAG to DoWait() from WaitForWrite() for the same reasons
it is done in WaitForRead().

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

16 years agoaccess-specifier fixes
Francesco Montorsi [Mon, 13 Oct 2008 11:29:37 +0000 (11:29 +0000)] 
access-specifier fixes

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

16 years agoUse native closure buttons under GTK+
Robert Roebling [Mon, 13 Oct 2008 11:21:37 +0000 (11:21 +0000)] 
Use native closure buttons under GTK+

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

16 years agovirtual/static attributes automated fixes by ifacecheck
Francesco Montorsi [Mon, 13 Oct 2008 11:09:56 +0000 (11:09 +0000)] 
virtual/static attributes automated fixes by ifacecheck

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

16 years agoadd docs for the #define of wxBookCtrl
Francesco Montorsi [Mon, 13 Oct 2008 11:03:01 +0000 (11:03 +0000)] 
add docs for the #define of wxBookCtrl

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

16 years agoCorrect spelling, now use Indices
Robert Roebling [Mon, 13 Oct 2008 10:52:38 +0000 (10:52 +0000)] 
Correct spelling, now use Indices

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

16 years agono need to test that the pointer is non-NULL before deleting it (closes #10070)
Vadim Zeitlin [Mon, 13 Oct 2008 10:35:07 +0000 (10:35 +0000)] 
no need to test that the pointer is non-NULL before deleting it (closes #10070)

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

16 years agorevised the documentation of the book controls; moved common API to wxBookCtrlBase
Francesco Montorsi [Mon, 13 Oct 2008 10:27:19 +0000 (10:27 +0000)] 
revised the documentation of the book controls; moved common API to wxBookCtrlBase

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

16 years agorevised n*h headers
Francesco Montorsi [Mon, 13 Oct 2008 08:55:12 +0000 (08:55 +0000)] 
revised n*h headers

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

16 years agouse wxEmptyString instead of wxString() for default values
Francesco Montorsi [Mon, 13 Oct 2008 08:51:45 +0000 (08:51 +0000)] 
use wxEmptyString instead of wxString() for default values

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

16 years agoremove ugly AD-HOC FIX for wxHyperlinkCtrl; use the generic facilities of RegisterCon...
Francesco Montorsi [Mon, 13 Oct 2008 08:39:10 +0000 (08:39 +0000)] 
remove ugly AD-HOC FIX for wxHyperlinkCtrl; use the generic facilities of RegisterControl() instead (patch by Utensil Candel)

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