Commit Graph

15354 Commits

Author SHA1 Message Date
Vadim Zeitlin
308bb56fd8 use TB_GETMAXSIZE in GetBestSize() (patch 1050045)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 23:12:44 +00:00
Vadim Zeitlin
db1d019338 better (more precise) values for wxGetOsDescription() (patch 1047539)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 22:08:37 +00:00
Vadim Zeitlin
8e5c652190 construct icon from wxIconLocation, not just the file name without index: this fixes icons display under MSW (replaces patch 1047225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 21:16:44 +00:00
Vadim Zeitlin
588066b7a3 replaced wxStream::GetSize() with GetLength() (still keep the former but it will be deprecated) (second part of patch 1063498)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 21:10:30 +00:00
Vadim Zeitlin
30984deafc new set of fixes for problems due to huge files support: drop wxFileSize_t, use wxFileOffset only, make wxInvalidOffset an int (main part of the patch 1063498)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 21:02:58 +00:00
Robin Dunn
ccfc3219db When using an external scrollbar ensure that the built-in one is set
at minimal values so it won't be displayed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 19:58:49 +00:00
Włodzimierz Skiba
c34924f7bc OW fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 19:54:00 +00:00
Włodzimierz Skiba
0cd936a4fb wxTreeEvent::Clone() support [patch #1061198].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 19:24:22 +00:00
Ron Lee
b40a6748eb This size/offset stuff is a mess, but leaving this one warning
about a mismatch that makes the test a NOOP is just silly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 14:37:55 +00:00
Stefan Csomor
8623a8838d text attributes corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 13:44:51 +00:00
George Tasker
5a349c39a0 Added support for SQL_C_UCHAR (unicode builds), SQL_C_LONG, and SQL_C_SHORT. These are the column types supported by the wxODBC classes that were not being handled by the wxDbGrid code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 10:29:37 +00:00
Stefan Csomor
5a486641eb toplevel creation respecting wxDefaultPosition again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 20:03:19 +00:00
Kevin Hock
12cfa30457 [1001483] wxGetPasswordFromUser now uses wxPasswordEntryDialog instead of wxTextEntryDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 19:09:58 +00:00
Kevin Hock
5e2db64247 [1001483] Added default prompt for new wxPasswordEntryDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 19:03:17 +00:00
Kevin Hock
e9f4948e73 [1001483] Added wxPasswordEntryDialog analagous to wxTextEntryDialog, allows detecting entering an empty string vs. cancel unlike the wxGetPasswordFromUser dialog function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 19:01:47 +00:00
Włodzimierz Skiba
bb8a847812 Warning fixes, IsEmpty->empty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 18:48:38 +00:00
Włodzimierz Skiba
56eee37fc8 wxSizer::Add/Insert now returns pointer to wxSizerItem added and wxSizerItem contains access to its area [Patch #1042571 with minimal tweaks]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 18:33:00 +00:00
Stefan Csomor
507ad4266a move offscreen before in order to avoid transitions for mdiparent frame as it supposed not to be visible on mac anyway
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 08:13:00 +00:00
Stefan Csomor
ed2c31509f allow arbitrary positions for toplevel windows (also initially off-screen )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 08:02:40 +00:00
David Elliott
f71bb8efc3 Cast 4th parameter of getsockopt to char* and of setsockopt to const char*
so that older headers such as those found on Solaris 2.6 will work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 04:20:38 +00:00
Włodzimierz Skiba
4e4528f6a5 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 19:57:37 +00:00
Włodzimierz Skiba
3f0785de9a Get shorter code with new wxRect constructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 19:54:24 +00:00
Włodzimierz Skiba
fd864f01f2 Unused warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 19:51:55 +00:00
Włodzimierz Skiba
6356d52a67 Unfortunatelly compiler does not know which bits play here and still warns about loosing them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 19:34:45 +00:00
George Tasker
c906510440 Unicode corrections in new SqlExec() overload
SQL_BIT and SQL_TIMESTAMP were not being correctly interpreted in ::GetColumns()
Source reformatting to match WX conventions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 12:21:09 +00:00
Ryan Norton
8c98569888 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 05:17:32 +00:00
Ryan Norton
d20c3f4181 fixup authorship
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 04:08:36 +00:00
Ryan Norton
dff4be9392 fix playbackrate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 02:39:00 +00:00
Ryan Norton
51884c2404 finalize MAC implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 02:23:43 +00:00
Ryan Norton
2bff0db15b finalize MSW implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 02:05:01 +00:00
Ryan Norton
79c78d4284 correct to int32 for range comparison
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 00:34:51 +00:00
Kevin Hock
2456792140 The spacing just isn't right without the 4 pixel border around the textbox part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 22:22:31 +00:00
Vadim Zeitlin
4c2deb19e0 handle volume part of the path correctly in wxFileName(path, name, ext) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 20:11:42 +00:00
Vadim Zeitlin
2fb5a4ce63 made IsPathSeparator(NUL) work (by returning false)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 20:06:37 +00:00
Václav Slavík
abda7717b3 use wxART_BUTTON for stock bitmap buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 17:05:27 +00:00
Ryan Norton
16cfbafc6a some setup.h changes for wxMovieCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 15:47:57 +00:00
Ryan Norton
52f2f7b2c1 fix for [ 1052989 ] TextCtrl.SetBackgroundColour(wx.NullColour) bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 14:14:10 +00:00
Ryan Norton
093dee5e9d fix for [ 1055191 ] wxTextCtrl::GetStyle() wrong attr and extended stat bar in text ctrl sample with rich text to show font attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 13:01:59 +00:00
Ryan Norton
7012506a83 quick fixup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 12:27:05 +00:00
Ryan Norton
3a774635dc allow multiple movie loading as per Julian's suggestion. DOC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 12:22:11 +00:00
Ryan Norton
aa13eec585 correct Stopping - go to start of movie if stopped - add in preliminary docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 11:34:15 +00:00
Ryan Norton
0568fd59ca add Length, Tell, SetPlaybackRate and GetPlaybackRate - use Connect instead of message maps - on MSW don't assert if the file has no video and only sound - add event for when the movie finishes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 10:56:06 +00:00
Robert Roebling
fe27303f7a Forgot to commit these.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 10:20:14 +00:00
Robert Roebling
0ab2de15cb Moved deletion of wxPrintFacory to module.
Added wxWidgets 2.4 backward comp methods
   to wxPrintData which make use of the
   PostScript native print data if used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 10:11:48 +00:00
Ryan Norton
bcac1ec21b fixup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 09:04:40 +00:00
Ryan Norton
4ad7af2b83 wxMovieCtrl - for playing movies - mac carbon QT 3 MSW-compatable implementation and MSW DirectX7 directshow implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 08:27:51 +00:00
Kevin Hock
8ae6cfb696 Added checking of EnableEffects flag and not allowing changes to color or underlining if it is not set, consistent with MSW (GTK2 native control doesn't offer underlining or color, so flag is essentially always disabled on GTK2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 05:38:02 +00:00
Ryan Norton
e3e817d4ac [ 1057587 ] MacOSX build fails with --disable-gauge or --disable-spinbtn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 01:03:08 +00:00
Ryan Norton
24d2b4f5ba fix for [ 1020924 ] wx.Display.IsPrimary is wrong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 00:48:37 +00:00
Ryan Norton
4cd1ed991c fix for [ 950550 ] wxChoice - wxEmptyString (wxChoice::FindString doesn't work with empty strings) - confirmed on win2k
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 00:09:39 +00:00