Commit Graph

45960 Commits

Author SHA1 Message Date
Jaakko Salli
102c9a42e8 Fixed broken wxMultiChoiceProperty::ValueToString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:36:07 +00:00
Jaakko Salli
c324ed9459 Add maximum width for sample's frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:31:46 +00:00
Jaakko Salli
7bb89a662b Update 'intro' comment in propgrid sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:24:27 +00:00
Jaakko Salli
1425eca550 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
2008-10-16 17:19:50 +00:00
Vadim Zeitlin
f7ca1dd416 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
2008-10-16 16:20:31 +00:00
Vadim Zeitlin
65669e3152 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
2008-10-16 12:35:03 +00:00
Vadim Zeitlin
fa8825a01d 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
2008-10-16 12:34:47 +00:00
Vadim Zeitlin
04021d6fac 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
2008-10-16 12:33:05 +00:00
Vadim Zeitlin
0bde39ffac 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
2008-10-16 12:32:39 +00:00
Vadim Zeitlin
a62e6836ae added wxConnection::IsTextFormat()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:32:06 +00:00
Vadim Zeitlin
5a557d1ea0 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
2008-10-16 12:31:30 +00:00
Vadim Zeitlin
c139dda12a 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
2008-10-16 12:07:35 +00:00
Vadim Zeitlin
f34851f5af remove obsolete makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 10:02:45 +00:00
Vadim Zeitlin
a8db7a5fc1 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
2008-10-16 09:13:16 +00:00
Václav Slavík
352cd79f63 reverted broken changes from r56345 and r56349
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 08:15:56 +00:00
Paul Cornett
e261c9e2af simplify code by using wxGTKPrivate::GetButtonWidget()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 03:57:39 +00:00
Václav Slavík
ca5bf83bda 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
2008-10-15 21:10:56 +00:00
Vadim Zeitlin
f8cba58b84 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
2008-10-15 21:03:40 +00:00
Vadim Zeitlin
fa05a943e9 implement GetSizeAvailableForScrollTarget() in MyScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 19:39:27 +00:00
Vadim Zeitlin
1d7b600d63 document GetSizeAvailableForScrollTarget()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 19:33:00 +00:00
Václav Slavík
01603d4396 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
2008-10-15 19:14:46 +00:00
Václav Slavík
fde87a8276 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
2008-10-15 18:49:47 +00:00
Bryan Petty
f978831f37 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
2008-10-15 18:49:22 +00:00
Robert Roebling
d1b80f2196 Update make dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 18:39:21 +00:00
Robert Roebling
04aac2dd12 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
2008-10-15 16:56:14 +00:00
Robert Roebling
da41756524 Added wxMac screenshot from wxDataViewTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 16:45:46 +00:00
Jaakko Salli
fedaff2f95 Removed unneeded wxPG_INHERITED_PROPFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 16:13:23 +00:00
Jaakko Salli
174b59acee 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
2008-10-15 16:07:26 +00:00
Václav Slavík
c39058f631 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
2008-10-15 15:55:25 +00:00
Václav Slavík
7f8f381c0f 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
2008-10-15 15:43:45 +00:00
Francesco Montorsi
427c415b93 interface header revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 15:36:15 +00:00
Julian Smart
8c9e72f982 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
2008-10-15 14:39:04 +00:00
Jouk Jansen
ea279fc5af update XPM variable names for docview sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 11:40:55 +00:00
Vadim Zeitlin
d45242a64a 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
2008-10-15 11:39:04 +00:00
Vadim Zeitlin
00a1c49a77 compilation fix for wxUSE_STD_IOSTREAM==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 11:22:53 +00:00
Robert Roebling
bb94502f9f Added wxSearchCtrl, typos corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 10:22:23 +00:00
Robert Roebling
e6a2d263d7 Crop images a little
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 09:52:23 +00:00
Robert Roebling
e4821c39c4 Add appearance tags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 09:49:58 +00:00
Robert Roebling
4e6b821a45 Add wxPropertyGrid screenshots
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 09:47:37 +00:00
Robert Roebling
b6042e683f Add wxSearchCtrl screenshots
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 09:47:03 +00:00
Robert Roebling
23943404bd Repaired togglebutton images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 09:46:42 +00:00
Robert Roebling
13ab7561df 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
2008-10-15 08:37:15 +00:00
Francesco Montorsi
96c6575597 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
2008-10-14 20:08:11 +00:00
Francesco Montorsi
f3998820a3 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
2008-10-14 19:49:48 +00:00
Francesco Montorsi
1a78714d95 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
2008-10-14 19:48:50 +00:00
Francesco Montorsi
9f5737d793 misc fixes to function signatures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 19:48:14 +00:00
Francesco Montorsi
9f1ce8bfa9 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
2008-10-14 19:40:39 +00:00
Robert Roebling
53ba104ecf 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
2008-10-14 19:37:51 +00:00
Jaakko Salli
2fd4a52415 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
2008-10-14 17:15:59 +00:00
Vadim Zeitlin
c8c86bd0ba 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
2008-10-14 14:13:15 +00:00