|
From: <ma...@us...> - 2003-12-01 13:05:18
|
Update of /cvsroot/sharedaemon/ui-wx/src
In directory sc8-pr-cvs1:/tmp/cvs-serv27158
Modified Files:
ColorFrameCtrl.h
Log Message:
Fixed win32 type definition issues
Index: ColorFrameCtrl.h
===================================================================
RCS file: /cvsroot/sharedaemon/ui-wx/src/ColorFrameCtrl.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- ColorFrameCtrl.h 20 Nov 2003 01:27:26 -0000 1.6
+++ ColorFrameCtrl.h 1 Dec 2003 13:05:14 -0000 1.7
@@ -28,12 +28,12 @@
#define RGB(a,b,c) ((a&0xff)<<16|(b&0xff)<<8|(c&0xff))
#endif
typedef unsigned int UINT;
-typedef unsigned long DWORD;
-typedef UINT* UINT_PTR;
-typedef struct _RECT {
+typedef unsigned long DWORD;
+
+typedef struct _rectangle {
UINT left,top,right,bottom;
-} RECT;
-typedef RECT* LPRECT;
+} rectangle;
+typedef rectangle* lprectangle;
class CColorFrameCtrl : public wxControl {
public:
@@ -50,7 +50,7 @@
void OnPaint(wxPaintEvent& evt);
void OnSize(wxSizeEvent& evt);
DECLARE_EVENT_TABLE()
- RECT m_rectClient;
+ rectangle m_rectClient;
wxBrush m_brushBack,m_brushFrame;
};
|