Commit Graph

36892 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
20ed1e94d6 use manifest id of 2 if ISOLATION_AWARE_ENABLED is defined (bug/feature request 1222189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 23:56:50 +00:00
Vadim Zeitlin
3f04a3c003 mention VC6 problem with the dependencies (closes 1216051)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 23:30:09 +00:00
Vadim Zeitlin
f59ec16f6e include build/msw/wx_base.dsp in wxBase distribution (closes 1324053)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 23:24:30 +00:00
Vadim Zeitlin
70bf61807a define WXDEBUG_NEW to use special VC++-specific new version too (closes 1386286)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 23:19:12 +00:00
Robin Dunn
66493fc767 #include overlay.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 22:20:45 +00:00
Robin Dunn
ae8635b6da Added wx.StandardPaths.GetTmpDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 20:30:32 +00:00
Robin Dunn
00b3a749fa use WXDLLIMPEXP_ADV on the base class too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 19:46:10 +00:00