Commit Graph

36899 Commits

Author SHA1 Message Date
Kevin Ollivier
ccd67a6af8 Override GetPixelSize on OS X as the base impl creates a wxScreenDC each time, which causes a significant performance hit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 00:22:56 +00:00
Vadim Zeitlin
4fa3f8c355 explain more clearly the possible usage scenarios
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 00:20:12 +00:00
Robin Dunn
61ecd22547 some GTK1 bulkd fixes from Sander Niemeijer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:47:15 +00:00
Michael Wetherell
55420742a1 Add class factories for filter streams. Also filters now follow the convention
that they own their parent if they are created on a pointer to the parent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:45:15 +00:00
Michael Wetherell
166c3ef0f9 Add class factories for filter streams. Also filters now follow the convention
that they own their parent if they are created with a pointer to the parent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:41:12 +00:00
Robin Dunn
ceb40c80a1 Mention wx.ListCtrl fixes on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:25:58 +00:00
Robin Dunn
58cb01d1eb Show sample License text on the AboutBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:24:17 +00:00
Robin Dunn
b4b5a92e0b Don't override DoGetSize, just let the default return the real size of
the widget like normal.  Since the former implementation used
GetBestSize, which uses a DC, which on Mac calls window->GetSize, this
resulted in an infinite recursion.

Also use SetBestFittingSize in the ctor and move CacheBestSize to
DoGetBestSize where it belongs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:23:06 +00:00
Kevin Ollivier
64e4759f43 Fix wxBufferedDC so that it adheres to its documented behavior (which is in use in wxPython at least) and make a note about the layout direction assignment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 20:00:48 +00:00
Robert Roebling
974a12f86a [ 1584680 ] wxComboCtrl Popup Animation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 19:48:46 +00:00
Robin Dunn
9985801dda HIShapeCreateEmpty doesn't exist prior to OSX 10.4, use
HIShapeCreateWithRect with an empty rectangle instead.

Also detabified.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 19:08:14 +00:00
Robin Dunn
7e04993c66 corrected collpaneg.h name typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 19:04:06 +00:00
Václav Slavík
686ca1b5d4 use window's font instead of the default one in wxStatusBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 18:14:08 +00:00
Robert Roebling
3811dacb39 Prevent accession of to-be-deleted mdi
child window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 17:51:28 +00:00
Julian Smart
43a9ab2f1b wxRichTextCtrl not ready for WinCE yet, stop people fiddling with it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 17:09:46 +00:00
Włodzimierz Skiba
c01075e580 Typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 16:46:54 +00:00
Włodzimierz Skiba
37702a44db Make wxRichTextCtrl again buildable on WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 15:50:15 +00:00
Robert Roebling
b014db05bb Add m_fsStyle next to m_windowStyle
Add HasFdFlag()
  Use it for all tests in all variants of
    wxFileDialogs. That way it will be easier
    to change again centrally, if required.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 13:26:47 +00:00
Michael Wetherell
14d8546a75 Fix export.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 12:24:28 +00:00
Václav Slavík
69a5bc231a changed wxHAS_NATIVE_OVERLAY and wxHAS_CARET_USING_OVERLAYS to use #ifdef instead of #if ... == 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 12:12:56 +00:00
Vadim Zeitlin
4876ba0b23 declare wxMSLU_xxx functions in the headers which define macros expanding to them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 11:27:24 +00:00
Jouk Jansen
273d399f0f Committing in .
Update configuration for OpenVMS

 Modified Files:
 	wxWidgets/setup.h_vms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 10:19:28 +00:00
Julian Smart
2981fc8337 Button size adjustment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 09:04:59 +00:00
Julian Smart
a2351b3fe4 Don't reset the best size to wxDefaultSize unless we have a bitmap, otherwise
an explicit size is ignored


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 09:03:45 +00:00
Julian Smart
892a76f771 Better button size on wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 08:49:50 +00:00
Robert Roebling
980fa7ef7d Fix test for wxFD_MULTIPLE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 07:34:15 +00:00
Robin Dunn
8377a10750 Fix for missing About menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 07:31:46 +00:00
Robin Dunn
9ed79eee4e Fix the rectangle size when offsetting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:55:49 +00:00
Robin Dunn
de3cb39f85 Refactor the code that decides if the 0.5 offset chousl be applied
into its own method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:55:17 +00:00
Robin Dunn
eb3e358db8 Include the html docs in the tarball
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:52:58 +00:00
Robin Dunn
71064d3871 If there is already a set of HTML docs built in the tarball, there is
no need to build them again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:52:37 +00:00
Robin Dunn
44b651f55a The deprecated lib doesn't build. Disable it from being automatically
built for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:51:10 +00:00
Włodzimierz Skiba
93076559ba ADV export fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:47:14 +00:00
Kevin Ollivier
e9a0cc4b72 Adding support for item font/style/color customization, unfortunately, it does not work with wxLC_EDIT_LABELS due to a limitation in the native control. Also fire activate events, and fix some event object/id mismatches when using the generic list ctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 05:42:54 +00:00
Vadim Zeitlin
5dafb071ba use WX_DEFINE_ARRAY_INT for an array of ints (bug 1536482)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:59:07 +00:00
Vadim Zeitlin
6c4fc6a8e3 corrected EVT_NOTIFY[_RANGE] docs (bug 1439078)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:55:13 +00:00
Vadim Zeitlin
79b4c33a16 correct custom event type example and point to the event sample (bug 1338140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:53:55 +00:00
Vadim Zeitlin
d60156ac9d corrected order of parameters in ctor (closes 1304320)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:52:12 +00:00
Vadim Zeitlin
9043437f19 explain why wxSpinCtrl may be available on platforms where wxSpinButton isn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:42:57 +00:00
Vadim Zeitlin
615c643305 renamed static functions section to global functions one (bug 1244222)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:40:30 +00:00
Vadim Zeitlin
d0ebe20ba4 wxGLCanvas is also available under Mac and other platforms (bug 1241485)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:37:54 +00:00
Vadim Zeitlin
59f846df9b removed confusing 'native make' from mingw32 section (bug 1236795)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:35:47 +00:00
Vadim Zeitlin
933c79ecc8 document what exactly SetAlignment() expects (bug 1232727) + other minor corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:31:59 +00:00
Vadim Zeitlin
9b2d4f0eda corrected wxEntry declarations (closes 1222193); added wxEntryStart/Cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:26:55 +00:00
Vadim Zeitlin
9afe743349 explain that CW might not work, mention that BC5 worked with 2.4.2 (bug 1158383)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:18:10 +00:00
Vadim Zeitlin
5145a8cfe5 correct wxDirExists() parameter type (closes 1220417)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:13:22 +00:00
Vadim Zeitlin
b1c08dbd62 document GetDocManager() (closes 1098861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:09:10 +00:00
Vadim Zeitlin
9aeb24a0f6 clarify GetWheelRotation() (bug 969231)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:06:43 +00:00
Vadim Zeitlin
c1073b57a7 add a note explaining that sizers should be heap-allocated (bug 965825)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:03:41 +00:00
Vadim Zeitlin
ce4e2041a8 add hyperlink to wxList to GetMenuItems() docs (bug 921322)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 00:00:22 +00:00