Minor whitespace/style fixes

Remove extra spaces, harmonize the style of "#endif" comments.
This commit is contained in:
Vadim Zeitlin
2017-05-20 17:01:25 +02:00
parent 86a2b6eb28
commit 5353bfc963
4 changed files with 31 additions and 31 deletions

View File

@@ -58,7 +58,7 @@ public:
// initializes the bundle with a single icon
wxIconBundle(const wxIcon& icon);
#if defined( __WINDOWS__) && wxUSE_ICO_CUR
#if defined(__WINDOWS__) && wxUSE_ICO_CUR
// initializes the bundle with the icons from a group icon stored as an MS Windows resource
wxIconBundle(const wxString& resourceName, WXHINSTANCE module);
#endif
@@ -75,7 +75,7 @@ public:
void AddIcon(wxInputStream& stream, wxBitmapType type = wxBITMAP_TYPE_ANY);
#endif // wxUSE_STREAMS && wxUSE_IMAGE
#if defined( __WINDOWS__) && wxUSE_ICO_CUR
#if defined(__WINDOWS__) && wxUSE_ICO_CUR
// loads all the icons from a group icon stored in an MS Windows resource
void AddIcon(const wxString& resourceName, WXHINSTANCE module);
#endif

View File

@@ -13,15 +13,13 @@
#include "wx/defs.h" // wxUint* declarations
// Structs declared here are used for loading group icons from
// Structs declared here are used for loading group icons from
// .ICO files or MS Windows resources.
// Icon entry and directory structs for .ICO files and
// MS Windows resources are very similar but not identical.
#if wxUSE_ICO_CUR
#if wxUSE_STREAMS
// icon entry in .ICO files
@@ -49,7 +47,7 @@ struct ICONDIR
wxUint16 idCount; // how many images?
};
#endif // #if wxUSE_STREAMS
#endif // wxUSE_STREAMS
#ifdef __WINDOWS__
@@ -71,7 +69,7 @@ struct GRPICONDIRENTRY
wxUint16 wBitCount; // Bits per pixel or YHotSpot
wxUint32 dwBytesInRes; // how many bytes in this resource?
wxUint16 nID; // actual icon resource ID
};
@@ -86,9 +84,8 @@ struct GRPICONDIR
#pragma pack(pop)
#endif // #ifdef __WINDOWS__
#endif // __WINDOWS__
#endif // wxUSE_ICO_CUR
#endif // #if wxUSE_ICO_CUR
#endif // #ifndef _WX_PRIVATE_ICONDIR_H_
#endif // _WX_PRIVATE_ICONDIR_H_