Commit Graph

45917 Commits

Author SHA1 Message Date
Václav Slavík
0f278d7763 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
2008-10-16 19:13:32 +00:00
Václav Slavík
7abd9a0331 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
2008-10-16 19:10:55 +00:00
Václav Slavík
a158acac6d 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
2008-10-16 19:07:42 +00:00
Robert Roebling
ea91ff8e33 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
2008-10-16 18:27:16 +00:00
Robert Roebling
896074b9ba wxMac actually crashes in any logging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:17:56 +00:00
Robert Roebling
b57748f93f 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
2008-10-16 18:06:58 +00:00
Robert Roebling
3f407e4ff7 Fudge offset no longer required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:05:44 +00:00
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