Commit Graph

17820 Commits

Author SHA1 Message Date
David Surovell
0f85d5e799 cleanup - reformatting (again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 17:46:09 +00:00
Vadim Zeitlin
59abfcf813 removed code refreshing toolbar on every MDI child move -- no idea why was it there (since rev 1.1) but it results in horrible flicker and removing it doesn't seem to do any harm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 15:41:45 +00:00
Vadim Zeitlin
5bee6b2be4 set the same background colour for wxMDIParentFrame as for wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 15:38:20 +00:00
Vadim Zeitlin
3d412f80e9 account for DrawThemeParentBackground() returning S_FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 15:23:42 +00:00
Vadim Zeitlin
053889ad4b don't set colours for the toolbar manually, this prevents default redrawing from taking place; draw themed background if the parent is themed (based on patch 1358919)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 14:42:48 +00:00
Vadim Zeitlin
848c37c35b no changes; just code cleanup in OnEraseBackground()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 14:01:50 +00:00
Vadim Zeitlin
700dbceb37 added support for <bg> tag for toolbars in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:22:56 +00:00
Vadim Zeitlin
114807c0b2 added support disabled tag for toolbar elements in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:20:18 +00:00
Vadim Zeitlin
e786a78b1c removed a few more extra semicolons (patch 1425785)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:04:14 +00:00
David Surovell
9b26622dc1 fixed DoDrawRoundedRect to use corner rounding radius arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 21:54:48 +00:00
Vadim Zeitlin
e4c37d10dd removed old Win16 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 00:42:25 +00:00
Vadim Zeitlin
93489fc8f1 always send TB_AUTOSIZE in UpdateSize(), even if we're not attached to a frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-07 00:39:17 +00:00
David Surovell
d141b21808 tweaks and comments to previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 22:53:31 +00:00
David Surovell
bf26e9e078 fix gcc v3.3.3 compiler crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 22:34:32 +00:00
David Surovell
57a67daf9a fix compilation problem, pass 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 22:09:19 +00:00
Robin Dunn
122d1d563a Fix compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 21:58:56 +00:00
Michael Wetherell
3e63c3158d Compile fix for --enable-stl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 18:12:16 +00:00
Julian Smart
8ef51d6704 Attempt at using inkedit control for wxTextCtrl, when PC is tablet enabled. Currently
doesn't behave properly but is a first step.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 17:56:44 +00:00
Julian Smart
da817fa6eb Changed function to SetFitToCurrentPage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 17:51:11 +00:00
Julian Smart
ddec9f1eeb Added wxSYS_TABLET_PRESENT to check for tablet capability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 17:42:15 +00:00
Stefan Csomor
e7ead9d700 guard against early redraws
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 16:58:19 +00:00
David Surovell
63c6e6c806 added protection against non-file drop targets receiving files (and subsequently crashing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 16:24:26 +00:00
Jamie Gadd
26c2a266cd Add check for wxGLCanvas to wxCheckWindowWndProc. Fixes bug #1425106.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 13:44:06 +00:00
David Surovell
93a2619d10 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 05:08:13 +00:00
Vadim Zeitlin
259858fc6a now we don't only show label mnemonics but they also work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 23:50:13 +00:00
Vadim Zeitlin
12848fda6f no changes; just some (very) minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 23:39:37 +00:00
Vadim Zeitlin
3fe5be6e01 use XmNrecomputeSize instead of manually resizing the label (and unmanaging/managing it in process resulting in flicker) (patch 1420899)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 23:20:26 +00:00
Vadim Zeitlin
2ce89389bf use GTKRemoveMnemonics instead of wxStripMenuCodes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 23:02:47 +00:00
Vadim Zeitlin
ee6dd41a50 removed GTKConvertMnemonics() which is not used in GTK1 (which doesn't support mnemonics)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 22:58:41 +00:00
Vadim Zeitlin
d44a933726 honour the mnemonics; don't use gtk_label_set_markup() for foreground colour as this doesn't seem to be necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 22:41:39 +00:00
Robin Dunn
1dabdced0e For consistency with the docs and with wxMSW the keycode for
Ctrl-letter EVT_CHAR events should be in the range 1-26.  Also, make
the m_uniChar value match the keycode for KEY_UP/DOWN events for
letters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 22:10:13 +00:00
David Surovell
68204d23c2 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 22:00:44 +00:00
Włodzimierz Skiba
63ae3663c5 Missing break after error in daily build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 20:58:21 +00:00
David Surovell
71786e29fa added ctor implementation from header + initialzation; more reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 20:52:30 +00:00
Roger Gammans
1d7bc9130c fix for [1357272] . Replace the fake year with unique tokens to prevent
substring matches.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 14:10:51 +00:00
Vadim Zeitlin
b7c542d5c6 renamed AddSubPage() with pos parameter to InsertSubPage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 13:00:43 +00:00
Vadim Zeitlin
9d5371c60b renamed AddSubPage() with pos parameter to InsertSubPage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 12:27:20 +00:00
Jamie Gadd
68df211fae Deprecate wxDC::{Begin,End}Drawing()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 11:59:59 +00:00
David Surovell
6037dd262f correct include file conditionalization, take 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 09:14:02 +00:00
David Surovell
b46dde2772 cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 07:27:48 +00:00
David Surovell
61fa2e39da cleanup - reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 07:15:26 +00:00
Mart Raudsepp
8e729eb44b GTK2: Revert one set_resizable back to set_policy for now, as we need allow_shring to be TRUE right now, due to doing
bad things(tm) to the size requests of child widgets inside the toplevel.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 00:23:32 +00:00
David Surovell
28bfd0a1d2 added appropriate WX_PRECOMP bracket for new include statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 18:49:39 +00:00
Stefan Csomor
a4e3cdf025 support for default location added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 16:23:46 +00:00
Stefan Csomor
e3aeade0d6 linking commands on the individual window level, otherwise built-in handlers override our own (eg Paste is handled internally in a textcontrol without going through our own, resulting in changing 'read-only' unicode textcontrol)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 15:38:01 +00:00
Stefan Csomor
35d9ac0686 deactivate read-only implementation for unicodetextcontrol because it cannot be selected otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 15:35:06 +00:00
Mart Raudsepp
1d13cff399 I'm no fan of that focus ring being drawn inside the wxMiniFrame close button after a click (and release not on the
button), making the button look weird. So... don't focus on click.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 13:06:06 +00:00
Mart Raudsepp
07d04e37fd Optimize (for size) the cross_xpm used for the X button in wxMiniFrame. We use only 2 colors, so don't declare 16 of
them. Also swap the characters used to make the X visible in source code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 12:39:23 +00:00
Mart Raudsepp
9adb906369 GTK2: gtk_widget_set_uposition -> gtk_window_move for wxMiniFrame. No, I don't like emulated window moves, so I can't
use my wm to move this minifram, but alas for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 12:31:10 +00:00
Mart Raudsepp
cd6645a2c4 GTK2: gtk_widget_set_uposition -> gtk_window_move for wxPopupWindow - migration appears to work fine for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 12:15:31 +00:00