Paul Cornett
b091a2ec60
fix for scrolling wxSpinCtrl, broken by fix for scrolling wxStaticBox (rev 48550)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 16:12:45 +00:00
Julian Smart
768f35ecc6
Now uses the correct selection colours.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 14:53:25 +00:00
Julian Smart
1f57c2895e
Fixed a style application bug inserting a newline other than after the end of a paragraph.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 14:41:05 +00:00
Vadim Zeitlin
6dd14c57a4
release update region as soon as we finished painting the window instead of keeping it indefinitely (bug 1819635) [backport from trunk]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 23:27:57 +00:00
David Elliott
d3e7370f8a
Don't check for wxMac before overriding WORDS_BIGENDIAN based on compiler
...
endianness definitions. This allows any toolkit to be compiled universally
on OS X, not just wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 21:43:36 +00:00
David Elliott
379f96b46d
Remove defined(__WXMAC__) && defined(__APPLE__) case from the OS if/elif block.
...
It would never have been used in a configure build since setup.h which defines
__UNIX__ is included from platform.h before the if/elif block. Likewise, it
would not have been used for wxMac Xcode builds since they use config_xcode.h
which also defines __UNIX__. That's fortunate since __POWERPC__ was defined
unconditionally in that case. Note that classic builds wouldn't have used
the case either since they have their own case just before it (which remains).
Add __MACH__ to the list of UNIX defines (e.g. like __hpux) so that the UNIX
case of the OS if/elif block is guaranteed to match for all Mach systems. In
addition to that, within that case check for __APPLE__ && __MACH__ and make
sure that __BSD__ and __DARWIN__ are defined, TARGET_CARBON is defined,
and wxSIZE_T_IS_ULONG is defined.
Add __ppc__ to the list of defines that will cause __POWERPC__ to be defined
although it's interesting to note that we don't seem to use it anywhere.
Make sure that each case of the OS if/elif block has a /* OS ... */ comment
to make the code a bit easier to follow.
Remove comment about __DARWIN__ being used to work around defects in GCC,
that was removed years ago.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 21:03:53 +00:00
Vadim Zeitlin
ba23715453
add a critical section protecting ms_prev variables (replaces patch 1819224)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 18:06:10 +00:00
Vadim Zeitlin
7ecc0db815
removed extra semicolon (bug 1819361)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 14:48:10 +00:00
Julian Smart
00540e1ee5
Small usability improvements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 14:20:43 +00:00
Julian Smart
8efe7046a8
Made dialog captions more standard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-24 14:16:47 +00:00
Robin Dunn
f6edc96028
add missing versioned symbol
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 21:37:13 +00:00
Robin Dunn
06b0c0a39d
Use premultiplied alpha pixel format to match what is used everywhere else in wxMSW.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 21:31:43 +00:00
Robin Dunn
ca71c6bf10
Avoid compile error and return a value from StartDoc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 21:30:28 +00:00
Kevin Ollivier
728d38cbe5
Add implementation of native DrawCheckBox for Mac. (patch #1786282.)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 19:10:52 +00:00
Stefan Csomor
c00df9c854
adapting single selection deselect to generic listctrl 1812903
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:48:40 +00:00
Robin Dunn
eb0144e8b1
Use kControlContentIconRef in SetBitmapLabel for wxBORDER_NONE buttons.
...
Factor out code to create a standard sized bitmap so it can be used in
SetBitmapLabel too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 18:27:52 +00:00
Julian Smart
3815803a84
Small code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 13:35:10 +00:00
Stefan Csomor
a0f0ebebb9
making sure we only have the badged exclamation/warning sign for wxICON_EXCLAMATION (sf 1817033)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 12:30:38 +00:00
Paul Cornett
37a67a422c
remove extraneous semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 07:27:12 +00:00
David Elliott
bd78775a3f
Go back to my original idea of checking for EILSEQ and EINVAL and failing
...
immediately if either of those is set after wxVsnprintf call returns a
negative number to indicate some type of failure.
All other errno are assumed to simply mean that the buffer is undersized so
the platform C library function can set errno to anything it likes or simply
not set it at all and our code will keep trying to increase the buffer size
just as it did originally.
This should (hopefully) fix compilation with C libraries that only support
the most basic set of errors (of which EINVAL and EILSEQ are part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 03:30:16 +00:00
Robin Dunn
44abeba10d
Patch [ 1816051 ] MSW DrawEllipticArc inconsistent with other platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 18:07:45 +00:00
Vadim Zeitlin
ac7bf2261a
vswprintf() compilation fix for mingw32 with STLport 5.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-22 11:32:59 +00:00
Stefan Csomor
296faa4b72
offsetting fixed, color handling factored out
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:16:07 +00:00
Stefan Csomor
53b6774787
correct scrollbars with empty grow-box
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:14:52 +00:00
Stefan Csomor
c4dded970b
fixing height for buttons with different variants
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:13:50 +00:00
Stefan Csomor
b724d57fc7
making sure pdf pages are correctly layouted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:12:25 +00:00
Stefan Csomor
d0a2daec58
flushing corrected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:11:31 +00:00
Stefan Csomor
9b7384b523
scrolling fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-21 18:11:01 +00:00
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