Commit Graph

14434 Commits

Author SHA1 Message Date
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
Ryan Norton
fde548e2d2 fix for [ 1044879 ] wxMSW 2.5.3: memleaks in listctrl.cpp and bug in listctrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 23:49:28 +00:00
Stefan Neis
175bb578e0 Added wxStandardPaths implementation for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 22:14:04 +00:00
Ryan Norton
08429a81ca fixup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 20:39:44 +00:00
Ryan Norton
f110f39530 [ 955006 ] wxDb query with column information (modded to overload instead of creating a new function)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 20:32:34 +00:00
Ryan Norton
f5fb687186 final cleanup of string conversion with null characters (hopefully :))
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 08:23:50 +00:00
Ryan Norton
0c6099b79e Revert files to previous version that were affected by wxIsXXX((wxChar)X) change. Note - passing a negative value to those c lib functions is undefined, and could return true on platforms using a lookup table, for example (might crash also?), which is what will happen when casting to char to ansii mode and a char is above 127
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 07:09:35 +00:00
Ryan Norton
311765c2a8 fixup // comment header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 06:57:24 +00:00
Ryan Norton
3950f9e165 fix warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 06:42:25 +00:00
Ryan Norton
84c51ddf77 rewrite wxGetKeyState a bit, spun from [ 1058347 ] Fixes wxGetKeyState
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 06:41:05 +00:00
Stefan Csomor
c020f4210f selection handling for data browser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 06:19:11 +00:00
Ryan Norton
d8d7193d76 in unescape add normal characters in addition to unescaped characters :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 02:32:51 +00:00
Kevin Hock
b3bb2a7427 Add ability to position and/or center the dialog for wxGetPasswordFromUser like you can for wxGetTextFrom User
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 02:21:39 +00:00
Kevin Hock
01e1314745 Simplified the wxCENTRE style check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 02:19:33 +00:00
Robert Roebling
04a014a5d6 I admit I have no good solution for wxPrinter::Setup(wxWindow*)
yet. I'd just remove it but I'll think it over if there is
    or was any use for it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 22:25:25 +00:00
Robert Roebling
aac85509bd Mem leaks in connection with print factory code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 21:33:27 +00:00
Włodzimierz Skiba
32b1391332 Warning fixes to unused variables, int/wxChar keycode and other typecasting, not mixing 'type*' and 'type' variables in single line, IsEmpty to empty replacement etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 21:18:04 +00:00
Václav Slavík
3a3013019a use wxNewId() to implement XRCID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 21:12:41 +00:00
Václav Slavík
c838b68e83 make sure that wxNewId() doesn't return standard ID's value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 21:10:45 +00:00
Włodzimierz Skiba
34158fee38 Simplify wxRect construction at the wxPoint(0,0) with given size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 21:04:46 +00:00
Włodzimierz Skiba
141f4958e0 OW warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 20:53:23 +00:00