Fix lots of warnings reported by Clang.
Mostly potentially lossy implicit conversions in headers (long->int). Also dangling else warnings. Struct/class mismatches. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -981,7 +981,7 @@ public:
|
||||
/**
|
||||
Returns the number of stops.
|
||||
*/
|
||||
unsigned GetCount() const;
|
||||
size_t GetCount() const;
|
||||
|
||||
/**
|
||||
Set the start colour to @a col
|
||||
|
@@ -39,7 +39,7 @@ public:
|
||||
/**
|
||||
Constructs the pane with the given @a style and @a width.
|
||||
*/
|
||||
wxStatusBarPane(int style = wxSB_NORMAL, size_t width = 0);
|
||||
wxStatusBarPane(int style = wxSB_NORMAL, int width = 0);
|
||||
|
||||
/**
|
||||
Returns the pane width; it maybe negative, indicating a variable-width field.
|
||||
|
Reference in New Issue
Block a user