Commit Graph

28795 Commits

Author SHA1 Message Date
Vadim Zeitlin
5644ac4640 added XYToIndex() to avoid duplicating the checks for valid coordinates in many different places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:16:04 +00:00
Julian Smart
aa66250ba4 Further WinCE adaptations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:44:12 +00:00
Julian Smart
5497e635e0 Only set background colour explicitly for PPC/Smartphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:41:08 +00:00
Julian Smart
3bd8a40543 Fixed bug preventing dir enumeration from working on WinCE
Prevented crash on WinCE by removing hidden root style
(a bug in Windows causes crash in child traversal/data retrieval)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:38:14 +00:00
Julian Smart
0906c58d05 WinCE adaptations
Simplified comment


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:35:59 +00:00
Julian Smart
03775239e2 WinCE adaptations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:34:50 +00:00
Julian Smart
454180593f Correct flat notebook border style under WinCE in wake of
wxControl default border style change


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:34:04 +00:00
Julian Smart
9f76970889 Default border for a static box is wxBORDER_NONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:30:04 +00:00
Julian Smart
edea62818b Default border style for a control on PPC/Smartphone is wxBORDER_SIMPLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:28:37 +00:00
Julian Smart
e6f85deebb Further WinCE adaptations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:26:08 +00:00
Julian Smart
62675ef3b7 Removed unnecesary statusbar; check for spin control presence
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:25:50 +00:00
Julian Smart
0477a8578b wxSYS_COLOUR_WINDOW is better for window backgrounds on PPC/Smartphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:24:44 +00:00
Julian Smart
0bbd4f0ff4 The wxDEFAULT_CONTROL_BORDER symbol can be used to specify a sunken
border on some platforms, simple border on e.g. WinCE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:23:08 +00:00
Julian Smart
0367d3391c \ is a reasonable home directory on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:22:22 +00:00
Ron Lee
7480218428 Rearrange the magic order we use instead of proper dependencies for
the builtin libs to at least give things a chance of working.
Don't include odbc there twice either.  Closes 1175402, thanks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 16:42:56 +00:00
Julian Smart
78382290bb Small doc mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 16:07:29 +00:00
Julian Smart
3519d94676 MF_BYCOMMAND is zero so don't try to test it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 15:16:53 +00:00
Vadim Zeitlin
2b9a7d4cc2 fixed TREE_ITEM_MENU generation from right mouse clicks: don't pass WM_RBUTTONDOWN to tree control window proc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 13:48:56 +00:00
Stefan Csomor
807c0706e6 updating positioning after embedding is set correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 05:36:52 +00:00
Robin Dunn
bb2ef2cc9e reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 05:00:39 +00:00
David Elliott
c437fde9f9 Added autoconf makefiles for FoldBar extended samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 04:50:20 +00:00
Robin Dunn
86a6ecff59 Fixed duplicate symbol link error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 04:47:10 +00:00
David Elliott
9dd0f6c28d Regenerated using wxAutohacks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 04:45:55 +00:00
Robin Dunn
61d07ac77a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 04:28:54 +00:00
Robin Dunn
ea93962350 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 04:15:10 +00:00
Robin Dunn
0c8b041f14 Use the current font for the DoGetBestSize calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 03:58:21 +00:00
Robin Dunn
a2e2643866 Use Python's buffer interface API for all image data and alpha Set/Get
methods and the ImageFromData* constructors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 03:50:06 +00:00
Robin Dunn
4f58a958ac default value tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 03:46:42 +00:00
Robin Dunn
f9e9ddc7b7 Be able to build with Pythons other than the System version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 03:46:18 +00:00
Robin Dunn
5cdc74321b Update year
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 03:45:36 +00:00
Robin Dunn
d8194e5dd4 Use Python's buffer interface API for all image data and alpha Set/Get
methods and the ImageFromData* constructors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 03:43:52 +00:00
Robin Dunn
4013de1217 Add static_data flag to SetData and SetAlpha so Python buffer objects
can be used in wxPython without double free()'s.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 02:04:52 +00:00
Robin Dunn
2809785e15 Put the Python executable pathname in wxTheApp->argv[0] so the
stackwalker won't freak out at trying to find program addresses inside
of .py files!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:55:41 +00:00
Robin Dunn
c451eded2c Be able to build with Pythons other than the System version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:52:09 +00:00
Vadim Zeitlin
3b6e5fb3f5 fixes to static box borders calculations and significant code cleanup (finalizes patch 1166587)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:17:51 +00:00
Vadim Zeitlin
a27cbf44fc added AutoHRGN class; corrected GetHbrush[Of]() macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:15:47 +00:00
Vadim Zeitlin
cf000528d0 added wxSOLID default value for FindOrCreateBrush()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:00:09 +00:00
Vadim Zeitlin
1f32f58565 removed superfluous semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 00:34:04 +00:00
Vadim Zeitlin
6d94009faa implemented GetProgramHandle() for Win32 and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 20:56:00 +00:00
Stefan Csomor
dc7ccb9c5d moving wxMac to new printing architecture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 16:36:36 +00:00
Julian Smart
54c5498d0f Now calculates clipping region from actual child HWNDs and not
wxWidgets windows, which helps with composite controls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 15:57:19 +00:00
Włodzimierz Skiba
1c04f04b46 Do not break checking whether dir exists for given path.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 14:46:16 +00:00
Julian Smart
0f5d8ecf34 Added wxPropertySheetDialog demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 14:27:55 +00:00
Julian Smart
8b36c71c6e Updated date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 13:43:10 +00:00
Dimitri Schoolwerth
2284d64e70 fixed default style parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 12:35:41 +00:00
Stefan Csomor
b343fb9fb9 fix for
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 11:55:56 +00:00
Dimitri Schoolwerth
61c747cda0 fixed Carbon compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 09:39:52 +00:00
Stefan Csomor
ba75e603f6 adding correct handling of uncovering or covering controls via tlw-resizes (in which case the txnBounds would not change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 07:28:31 +00:00
Stefan Csomor
e905b636b6 adding protected inquiry function whether a child window belongs to the 'client' or the 'non-client' area, examples for the latter are toolbar, scrollbars etc
adding another cached clip rect for the real client area


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 07:17:24 +00:00
Stefan Csomor
78df41df75 adding protected inquiry function whether a child window belongs to the 'client' or the 'non-client' area, examples for the latter are toolbar, scrollbars etc
adding another cached clip rect for the real client area


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 07:05:52 +00:00