Commit Graph

40921 Commits

Author SHA1 Message Date
Julian Smart
0340c1465f Added wxVSCROLL to wxRichTextCtrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 16:04:42 +00:00
Julian Smart
fafbc17819 Reverted recent docview string changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 09:25:04 +00:00
Julian Smart
c457168b21 Corrected duplicate ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 08:33:26 +00:00
Robin Dunn
3655aa7616 When freezing a top-level window freeze its top children instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 22:35:54 +00:00
Robin Dunn
3aca1743e7 Patch [ 1820537 ] Fix for uninitialized alpha value in wxColour::FromRGBColor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 21:34:11 +00:00
Robin Dunn
796f0bebbb Move the %disownarg directive to the .i file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 19:06:57 +00:00
Julian Smart
bf3078cb60 Added documentation for gtk.window.force-background-colour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 10:46:40 +00:00
Julian Smart
c9182d1f18 Workaround for gtk-qt theme bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 10:24:34 +00:00
David Elliott
596963d4b6 Look for and remove any "-NSKey" "value" types of options from argv just like
the -psn_XXXX option is removed.  This allows Cocoa debug options like
-NSShowAllViews YES to be used as with any other Cocoa program.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 18:01:36 +00:00
Julian Smart
a47427fa62 Fixed bug in optimization for character input, affecting first paragraph in the buffer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-25 16:13:33 +00:00
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