mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 14:00:55 +03:00
Native window decorations: fixed occasional application crash on Windows 10 in flatlaf-windows.dll (issue #357)
This commit is contained in:
@@ -176,6 +176,8 @@ void FlatWndProc::updateFrame( HWND hwnd, int state ) {
|
||||
|
||||
LRESULT CALLBACK FlatWndProc::StaticWindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) {
|
||||
FlatWndProc* fwp = (FlatWndProc*) hwndMap->get( hwnd );
|
||||
if( fwp == NULL )
|
||||
return 0;
|
||||
return fwp->WindowProc( hwnd, uMsg, wParam, lParam );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user