Commit Graph

32411 Commits

Author SHA1 Message Date
Kevin Hock
52437a76c3 CheckValidator should not return false if no variable is associated for data storage, data storage is optional [ fixes bug 1414892, closes patch 1415315 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 04:24:40 +00:00
Kevin Ollivier
471e64d61e wx-config now provides all the needed flags, so lflags just adds duplicates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-06 03:03:24 +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
Robin Dunn
22b549f247 BeginDrawing/EndDrawing are deprecated, and never really did anything
to begin with.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 22:01:48 +00:00
Robin Dunn
1d9bb35f77 AddSubPage --> InsertSubPage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 22:01:12 +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
3660902c0d moved ctor implementation into dot-cpp file; reformatted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 20:53:57 +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
Julian Smart
c1bf3a3e90 Removed richedit from index file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 20:45:23 +00:00
Julian Smart
fe59c7de50 Removed obsolete files from richedit sample directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 20:43:53 +00:00
Julian Smart
99120938f4 Removed textedit sample from distribution script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 20:41:22 +00:00
Julian Smart
2a15e880bd Removed textedit from top-level sample makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 20:40:48 +00:00
Mart Raudsepp
1fb1f1d833 Remove remark on wxTLW::Maximize that it only works on Windows. It works on wxGTK too, and I see implementation for
Mac aswell.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 20:39:15 +00:00
Vadim Zeitlin
aae7e12e1d set USE_QA to 1 for VC builds only by default (real fix for bug 1419152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 16:09:54 +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
Roger Gammans
42b62acfc2 Add flags to test dates struct which allow us to skip ecpected failures.
Use new flags feature to allow us to test format dates outside the two digit
 year parse range.
 Add dates to test for sf.net bug #1357272 and a couple of related issues.
  (eg,6Feb{1856,1857,1937}) .


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 14:05:39 +00:00
Roger Gammans
f30057dfbf Fix for compiler error with gcc 3.3.5 and cppunit 1.10.0 and
Improve readablity of test.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 14:01:37 +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
Jamie Gadd
7ad4d6914d Put previous change under correct heading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 12:47:38 +00:00
Jamie Gadd
9fb2139d11 Mention wxDC::{Begin,End}Drawing deprecation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 12:41:21 +00:00
Vadim Zeitlin
1ac453272c set USE_QA to 1 for consistency with the IDE builds (closes 1419152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 12:39:19 +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
Stefan Csomor
ea9e382e48 using common info.plist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 19:53:04 +00:00
Stefan Csomor
4d524cdd0e common Info.plist for XCode projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 19:44:14 +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
David Surovell
c2794afdbb added missing include; minor reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 04:58:30 +00:00
Mart Raudsepp
0857d1d659 GTK2: Add a GTK_WIDGET_DRAWABLE check to the gtk_widget_draw replacement to make it call identical worker functions
as before, and not spew warnings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 02:10:53 +00:00
Mart Raudsepp
f91f71e384 GTK2: gtk_widget_{push,pop}_visual don't do anything in GTK2, other than break compilation with
GTK_DISABLE_DEPRECATED


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 01:49:25 +00:00
Mart Raudsepp
18e989043b gtk_signal_connect -> g_signal_connect in unix/mediactrl.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 01:47:01 +00:00
Mart Raudsepp
6f85e71200 GTK2: gtk_entry_* -> gtk_editable_* where necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 00:50:47 +00:00
Mart Raudsepp
78e017d8f3 GTK2: gtk_radio_button_group -> _set_group; A missed gtk_label_set to set_text. Add a FIXME note for wxStaticText
probably not honoring SetBackgroundColour


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-04 00:09:16 +00:00