Fix format specifier used for wParam in wxMSW WM_POWER handler
wParam is 64 bits in 64 bit builds and can't be used with "%d", we need "%zd" for it. Closes #19080.
This commit is contained in:
		@@ -4569,7 +4569,7 @@ bool wxWindowMSW::HandlePower(WXWPARAM wParam,
 | 
				
			|||||||
            break;
 | 
					            break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        default:
 | 
					        default:
 | 
				
			||||||
            wxLogDebug(wxT("Unknown WM_POWERBROADCAST(%d) event"), wParam);
 | 
					            wxLogDebug(wxT("Unknown WM_POWERBROADCAST(%zd) event"), wParam);
 | 
				
			||||||
            wxFALLTHROUGH;
 | 
					            wxFALLTHROUGH;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // these messages are currently not mapped to wx events
 | 
					        // these messages are currently not mapped to wx events
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user