Commit Graph

45523 Commits

Author SHA1 Message Date
Kevin Ollivier
95710acb00 #ifdef Carbon-specific code to get stubbed DND support compiling for OS X Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:53:25 +00:00
Robin Dunn
8852798bcd Fix OpenGL test on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:46:14 +00:00
Robin Dunn
e6ba38871f Unicode-related compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:44:34 +00:00
Robin Dunn
5879b22eeb Ignore the DECLARE_*()'s when swigging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:43:03 +00:00
Robin Dunn
544cd5ac17 Fix wxStockCursor realted compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:41:25 +00:00
Francesco Montorsi
4707b84cd0 ifacecheck fixes to c*.h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:29:43 +00:00
Francesco Montorsi
95eee7ea38 made internal members of wxColourData public again; added a comment warning users to not use them directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 22:10:26 +00:00
Francesco Montorsi
2cb3a02f1a make m_strDefaultValueForCmp always non-empty; this simplifies the code; fix wxMethod::GetAsString() not to use wxType::GetAsCleanString for return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 21:58:56 +00:00
Vadim Zeitlin
75eec3adfb still define wxADJUST_MINSIZE when WXWIN_COMPATIBILITY_2_8 is 1 because it was defined (even if as just 0) in 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 20:51:08 +00:00
Francesco Montorsi
6869b469c6 fix build errors deriving from making wxColourData members private
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 20:21:36 +00:00
Francesco Montorsi
d4f392ea20 use wxStockCursor (as documented and as already implemented in wxMotif) instead of a plain 'int'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 19:40:13 +00:00
Michael Wetherell
54590cb078 Initial commit for Laurent Humbertclaude's Windows slave.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 18:03:04 +00:00
Francesco Montorsi
c40555e948 made internal members of wxColourData private; they were not documented to be public BTW so there should be no backward-compatibility issue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 17:58:49 +00:00
Francesco Montorsi
d62c1e628d changed wxColourData::GetCustomColour to const; there's no reason for it to be non-const; fixed wxColourData iface header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 17:57:18 +00:00
Vadim Zeitlin
d86901f9f4 return false, not true, from wxSingleInstanceChecker::IsAnotherRunning() if an error occurred while opening or reading the lock file (#9986)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:47:41 +00:00
Vadim Zeitlin
7ce2fb7139 reverted r55167, see #9854
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:38:53 +00:00
Vadim Zeitlin
13139e9300 restore the original selection when the dropdown is cancelled even if it was -1; this fixes the problem of #9995 and the existing code didn't deal correctly with the problem of losing current text in the combobox when the dropdown was cancelled anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:33:06 +00:00
Vadim Zeitlin
e57337cec3 document Connect(host, port) overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:16:17 +00:00
Stefan Csomor
fbd5416f60 supporting GetSize, fixes #9969
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 09:18:38 +00:00
Jaakko Salli
bb6720bb9e Document revisioning (including more wx-like formatting and internal function removal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 17:37:27 +00:00
Jaakko Salli
24588cd306 Remove obsolete references to 'target page' concept
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 15:38:49 +00:00
Jaakko Salli
40924780ea Remove doc references to 'common value' (which is unfinished feature)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 15:35:32 +00:00
Stefan Csomor
01a33e9670 fixing compiles under certain flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 10:00:53 +00:00
Vadim Zeitlin
07bfacf3a6 copied and pasted 2.8.9 change log section (was there anything there that didn't apply to trunk?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 22:42:17 +00:00
Francesco Montorsi
6bddaaf947 fix signature of wxClipboard::UserPrimarySelection; in particular change the default value from true to false since in the real sources the default value has always been the latter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 22:39:21 +00:00
Francesco Montorsi
8afb81d20d fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 22:36:42 +00:00
Francesco Montorsi
97f0dbd6f8 BIG CHANGES:
- removed fix from the rungccxml.sh.in; not only it was unnecessary
  but it's also better to keep all references to specific wxWidgets
  classes in a single place: the ifacecheck sources;
- added g_bLogEnabled and LogNull class;
- added an HACK_TO_AUTO_CORRECT_ONLY_VIRTUAL_AND_CONST_ATTRIBUTES
  mode for fixing virtualness and constness of interface headers
  in an automated way
- added options to wxMethod::GetAsString to provide an easier way
  to debug ifacecheck comparisons between wxMethods
- fixed wxMethod::FixMethod for single-line prototypes and added
  a boolean return value from it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 21:55:38 +00:00
Francesco Montorsi
b7e94bd7eb automated virtual/const fixes by ifacecheck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 19:01:17 +00:00
Francesco Montorsi
62a7da7532 ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 18:21:32 +00:00
Vadim Zeitlin
fbfd8b1ace compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 17:33:41 +00:00
Vadim Zeitlin
90815a4597 use wxGetDisplayPPI() instead of redoing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:30:17 +00:00
Vadim Zeitlin
622f7a49ef use factor of 10, not 100, to convert mm to cm after mm2inches was fixed in r55800
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:27:43 +00:00
Vadim Zeitlin
d43be80dab use inches2mm instead of literal constant in wxGetDisplayPPI()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:26:11 +00:00
Vadim Zeitlin
eb00016c5a fix METRIC_CONVERSION_CONSTANT which got accidentally divided by 10 in r45721
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:20:43 +00:00
Vadim Zeitlin
8b2e0e6d19 position the insertion point to the start, not end, of the selection for compatibility with MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:15:35 +00:00
Vadim Zeitlin
b09b3048c9 don't crash if the grid is being deleted while a cell editor is still shown (closes #9991)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:12:46 +00:00
Vadim Zeitlin
ed9dd91465 mention that width/height parameters to wxDisplaySize[MM]() can be NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:06:56 +00:00
Vadim Zeitlin
841a25bbc3 added a simple test for wxGetDisplayXXX() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:03:45 +00:00
Vadim Zeitlin
358e9f2f72 fix the event handling in presence of pushed event handlers broken by r55784 (closes #9992)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 14:11:40 +00:00
Stefan Csomor
41b93cd7d7 using new API instead of 2.8 compat, fixes #9990
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 14:00:03 +00:00
Stefan Csomor
451a00f7d7 fixing typo, thanks to Angelo Mottola
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 13:19:14 +00:00
Vadim Zeitlin
18666b42ca no changes, just clarified meaning of various conversion functions in a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 12:43:35 +00:00
Stefan Csomor
9f8062a0e4 fixing override, fixes #9985 (second error)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 12:24:52 +00:00
Kevin Ollivier
16edb7b520 Rebake after taskbar addition (apparently dlist.h commit didn't include rebake, so I'm committing that as well).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:53:46 +00:00
Kevin Ollivier
01250f9b2c Adding compiling (but not yet working) taskbar implementation for OS X Cocoa, mostly borrowed from wxCocoa. Also enabled HTML Help support as it seems this compiles fine now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:51:32 +00:00
Vadim Zeitlin
4eda9c09e4 no changes, just some markup fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:49:34 +00:00
Vadim Zeitlin
92089d00a1 use ProcessEventHere() instead of ProcessEvent() in TryValidator() to avoid passing the unhandled event to wxApp before it can be processed by this window itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:34:14 +00:00
Vadim Zeitlin
bba5e72ad3 hook the docview-specific customization of event handling logic at TryValidator() level instead of ProcessEvent(): this ensures that the events are not sent to wxApp before they're passed to all the handlers which might process them (before the events were passed to wxDocument and then immediately to wxApp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:33:11 +00:00
Vadim Zeitlin
8319fb5212 correct and expand (while omitting the irrelevant bits which only distract from the main topic) the explanation of how events are processed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:10:58 +00:00
Vadim Zeitlin
25250d335f extracted the part of ProcessEvent() which is repeated multiple times during the handling of a single event in the new ProcessEventHere() method; this ensures that wxApp::FilterEvent() is not called multiple times for the same event unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 00:08:28 +00:00