Add wxRESERVED_PARAM symbolic constant and use it instead of 0
This is more readable than just using "0" or "NULL" and shorter than writing a comment every time. No real changes.
This commit is contained in:
@@ -34,6 +34,10 @@ class WXDLLIMPEXP_FWD_CORE wxWindowBase;
|
||||
#define MAX_PATH 260
|
||||
#endif
|
||||
|
||||
// Many MSW functions have parameters which are "reserved". Passing them this
|
||||
// constant is more clear than just using "0" or "NULL".
|
||||
#define wxRESERVED_PARAM 0
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// standard icons from the resources
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user