Stefan Csomor
2144aae383
removed inlines, adding straight implementation for Flush
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:10:16 +00:00
Paul Cornett
e3800748e4
add wxUSE_MINIFRAME wrapper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:07:29 +00:00
Stefan Csomor
293f319ffc
fixing missed line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:05:49 +00:00
Stefan Csomor
0e88f17166
factoring color representation on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:04:40 +00:00
Stefan Csomor
43733e3e6c
making it obvious method is virtual, factoring out GrowBox painting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:03:35 +00:00
Stefan Csomor
08114fa8aa
making funcs non-inline, adding a Flush method which will only be needed on mac at the moment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:02:10 +00:00
Stefan Csomor
10b4c543d2
fixing int overflows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 17:59:09 +00:00
Paul Cornett
951bb5741e
fix header wrapper typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 17:59:02 +00:00
Stefan Csomor
c5a95b5e56
clarifying comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 17:58:22 +00:00
Stefan Csomor
06f80bde28
unifying offseting rules
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 11:54:03 +00:00
Stefan Csomor
a06fe67b79
fixing possible offsetting glitches
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 11:52:54 +00:00
Stefan Csomor
0417955ddb
adding correct filling area to arc, correct rounding and clipping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 11:51:45 +00:00
Stefan Csomor
248e9b5834
extensions and fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 15:23:18 +00:00
Robert Roebling
2207b90d2c
[ 1816882 ] wxListBox::SetSelection() doesn't update the control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 15:01:42 +00:00
Vadim Zeitlin
223a3d63c0
export wxInvalidSize from DLL builds (patch 1805738)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:34:43 +00:00
David Elliott
eec17f8302
Fix wxVsnprintf-using code on both trunk and 2.8 and document how native
...
functions are supposed to behave as well as how some of them do.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 03:44:01 +00:00
Stefan Csomor
40c5b2dc48
better native type for files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 14:46:03 +00:00
Julian Smart
a4f93a823c
Show debug report directory in long form on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 11:40:07 +00:00
David Elliott
eb0bfa0d51
Improve behavior of menubar switching when windows are activated.
...
Specifically, if a non-wx (e.g. internal Cocoa) window becomes key but a
wx window remains main, be sure to use the wx window's menubar rather
than swapping it out for the menubar we show when no wx window
is active. Fixes Leopard issue.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 05:39:18 +00:00
David Elliott
39d095adb5
Add missing wxT().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 04:42:23 +00:00
David Elliott
551896d9da
Add wxAddProcessCallback for both wxMac and wxCocoa and use it for wxCocoa.
...
It can be turned on for wxMac if desired. See utilsunx.cpp comment.
NOTE: I can't add the symbol to version-script.in because other platforms
have had this symbol even though wxMac/wxCocoa have not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 03:10:31 +00:00
David Elliott
0e3d1f4af5
Backport modified 49154 from trunk. Normalizes multiple and incorrect usage
...
of darwin/mac/cocoa tests into one USE_OLD_DARWIN_END_PROCESS_DETECT which
now excludes wxCocoa since it will be using the new method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 02:42:42 +00:00
David Elliott
5e093a9bb5
Add ProcessPendingEvents to wxApp::Yield which makes the code almost identical
...
to wxMSW's implementation save for using Cocoa instead of MSW.
Add a wxAutoNSAutoreleasePool around wxApp::WakeUpIdle so that calling it from
a thread does not leak the NSEvent.
Add several hundred lines of comments explaining the unique method that
wxCocoa uses to hook the underlying event loop and run loop so that wxCocoa
is able to provide things like wx idle events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 02:13:13 +00:00
Michael Wetherell
a49453dab9
When testing for getpwuid_r and getgrgid_r also check the signature. Solaris
...
7-9 have these with non-POSIX signatures.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 16:34:55 +00:00
Robin Dunn
e388b63f0d
Another typo. I should really wake up before writing...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 16:14:50 +00:00
Robin Dunn
6275bcf28d
fix typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 15:49:30 +00:00
Robin Dunn
86f87473ea
Make event overview doc more clear about instances of wxEvtHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 15:47:59 +00:00
David Elliott
e20d0f2a10
Fix crasher caused by wxProcessTerminationEventHandler::OnTerminate killing
...
itself inside the context of wxEvtHandler::ProcessPendingEvents which
still needs itself to be valid because it accesses it's m_eventsLocker.
NOTE: This code is no longer used on trunk and hopefully soon won't be
used in 2.8 either, but at least it doesn't crash now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 09:31:21 +00:00
David Elliott
df13d77add
Revert part of 49140 on the 2.8 branch making it continue to use
...
wxNonControlNSControl where WXNSView would do except that on the 2.8
branch I use a hack to stuff the control label in there since
2.8 has no m_labelOrig field in wxControlBase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 08:30:39 +00:00
David Elliott
0d220868d4
Merge 49213/49214 from trunk. Working wxFont implementation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 08:23:05 +00:00
David Elliott
4ece5784e2
Added include/wx/cocoa/private
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 08:02:43 +00:00
Robin Dunn
08221a1ddb
Add a section for 2.8.6.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 00:43:29 +00:00
Robin Dunn
a28e037ad5
Add richtext to CORE_GUI_LIBS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 00:42:43 +00:00
David Elliott
4ec06c2eed
Add const_cast and explain why it's needed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 22:07:21 +00:00
David Elliott
032f2af9a2
Apply modified patch 1785299 to trunk and 2.8.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 21:52:02 +00:00
Paul Cornett
336fec8f8f
Fix declaration-after-statement compile error, remove C++ comments, remove unused GtkPizzaAdjData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 02:58:17 +00:00
Benjamin Williams
1bf86c4b18
check if pane still exists before closing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 16:33:05 +00:00
David Elliott
e4d2c5d6fd
Don't force the child's m_isShown state to match that of the parent in CocoaAddChild.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-14 04:44:54 +00:00
David Elliott
f11da5baf1
Implement creation of wxFont from wxNativeFontInfo.
...
Implement all of the getters to return the fields from the wxNativeFontInfo
contained in the wxFontRefData.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 08:47:38 +00:00
David Elliott
065fe5b7e2
Replace most of the fields in wxFontRefData with one wxNativeFontInfo.
...
Done on both trunk and 2.8. Because the data members line up perfectly
and because I did not add nor remove any methods the ABI is (surprisingly)
not effected by this change.
The GetNativeFontInfo call now works.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 08:30:59 +00:00
David Elliott
605d362b4f
Move wxCocoa's wxFontRefData from the header to the implementation file.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 07:18:04 +00:00
David Elliott
a5e02a1fae
Rename src/cocoa/font.cpp to font.mm in both trunk and 2.8 branch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 06:58:26 +00:00
David Elliott
8392d7bdf7
Use WXNSView just like wxWindow does when creating a wxControl. There are
...
already wxControl subclasses such as wxStaticBox not using primary views which
derive from NSControl so wxControl has to support this already.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 20:27:02 +00:00
Julian Smart
2eef38b7d6
Warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 20:04:49 +00:00
David Elliott
a43a0ae686
Implement wxWindow::GetTextExtent to use wxDC to at least return something
...
reasonable rather than leaving uninitialized garbage values unchanged.
Fix wxWindow::DoSetVirtualSize so that the underlying Cocoa view always
takes up at least as much area as its enclosing clip view. In particular,
wxDefaultCoord was not being handled, resulting in -1 size components.
Together, these make the generic wxListCtrl mostly usable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 19:17:45 +00:00
Chris Elliott
de850acd75
update souce of wxart2d
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:52:12 +00:00
Benjamin Williams
8bc47fe436
added DockFixed() pane option; doc updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:23:48 +00:00
Robin Dunn
2ccf76cd1f
Give wxMac's wxStaticBox an AcceptsFocus method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 16:03:38 +00:00
Stefan Csomor
0f876f047a
removing interference between two layering fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 15:29:50 +00:00
Benjamin Williams
1149bfedc9
in LoadPerspective, if pane wasn't found, just skip it instead of bailing out
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 07:22:11 +00:00