Browse Source

Cleaned up Enum to set init value to 0

Vincent Gee 11 năm trước cách đây
mục cha
commit
ad4b06f2bc
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Engine/source/platform/nativeDialogs/msgBox.h

+ 2 - 2
Engine/source/platform/nativeDialogs/msgBox.h

@@ -32,7 +32,7 @@
 
 enum MBButtons
 {
-   MBOk,
+   MBOk = 0,
    MBOkCancel,
    MBRetryCancel,
    MBSaveDontSave,
@@ -41,7 +41,7 @@ enum MBButtons
 
 enum MBIcons
 {
-   MIWarning,
+   MIWarning = 0,
    MIInformation,
    MIQuestion,
    MIStop,