projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
optimized default GUI font loading
[wxWidgets.git]
/
src
/
msw
/
ownerdrw.cpp
diff --git
a/src/msw/ownerdrw.cpp
b/src/msw/ownerdrw.cpp
index 9e37e54adaf9bd9e994d6aae2f22407cdf0ce10e..010429a8783f8fe40e055decf4578f9b68bdad42 100644
(file)
--- a/
src/msw/ownerdrw.cpp
+++ b/
src/msw/ownerdrw.cpp
@@
-137,7
+137,7
@@
bool wxOwnerDrawn::OnDrawItem(wxDC& dc,
return TRUE;
// wxColor <-> RGB
- #define ToRGB(col) RGB(col.Red(), col.Green(), col.Blue())
+ #define ToRGB(col)
PALETTE
RGB(col.Red(), col.Green(), col.Blue())
#define UnRGB(col) GetRValue(col), GetGValue(col), GetBValue(col)
// set the colors