mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 22:10:54 +03:00
Native window decorations: fixed occasional application crash on Windows 10 in flatlaf-windows.dll (issue #357)
This commit is contained in:
@@ -3,10 +3,14 @@ FlatLaf Change Log
|
|||||||
|
|
||||||
## 1.5-SNAPSHOT
|
## 1.5-SNAPSHOT
|
||||||
|
|
||||||
|
#### Fixed bugs
|
||||||
|
|
||||||
- InternalFrame: Limit internal frame bounds to parent bounds on resize. Also
|
- InternalFrame: Limit internal frame bounds to parent bounds on resize. Also
|
||||||
honor maximum size of internal frame. (issue #362)
|
honor maximum size of internal frame. (issue #362)
|
||||||
- Popup: Fixed incorrectly placed drop shadow for medium-weight popups in
|
- Popup: Fixed incorrectly placed drop shadow for medium-weight popups in
|
||||||
maximized windows. (issue #358)
|
maximized windows. (issue #358)
|
||||||
|
- Native window decorations: Fixed occasional application crash on Windows 10 in
|
||||||
|
`flatlaf-windows.dll`. (issue #357)
|
||||||
|
|
||||||
|
|
||||||
## 1.4
|
## 1.4
|
||||||
|
|||||||
@@ -176,6 +176,8 @@ void FlatWndProc::updateFrame( HWND hwnd, int state ) {
|
|||||||
|
|
||||||
LRESULT CALLBACK FlatWndProc::StaticWindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) {
|
LRESULT CALLBACK FlatWndProc::StaticWindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) {
|
||||||
FlatWndProc* fwp = (FlatWndProc*) hwndMap->get( hwnd );
|
FlatWndProc* fwp = (FlatWndProc*) hwndMap->get( hwnd );
|
||||||
|
if( fwp == NULL )
|
||||||
|
return 0;
|
||||||
return fwp->WindowProc( hwnd, uMsg, wParam, lParam );
|
return fwp->WindowProc( hwnd, uMsg, wParam, lParam );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user