https://github.com/wxWidgets/wxWidgets/pull/26308
(3 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@csomor pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@csomor pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Should this be merged or do you plan more changes here?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Should this be merged or do you plan more changes here?
wait a moment please, we have to decide whether to move forward, using a rounded style, or keeping the old look, and I want to document how to arrive at another style for a toggle button as well ...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@csomor pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@vadz commented on this pull request.
Thanks, just to confirm: should this one be merged now or should we wait more for it to be tested?
> @@ -187,6 +199,7 @@ - (NSControlSize)controlSize;
{
NSButton* button = GetNSButton();
[button setAlternateImage: wxOSXGetImageFromBundle(bitmap)];
+ NSLog(@"alternateImage height %d, normalImage height %d", (int)[button alternateImage].size.height, (int)[button image].size.height);
This should probably be removed?
In include/wx/osx/cocoa/private.h:
> @@ -50,7 +50,12 @@ wxBitmapBundle WXDLLIMPEXP_CORE wxOSXCreateSystemBitmapBundle(const wxString& id WXWindow WXDLLIMPEXP_CORE wxOSXGetMainWindow(); WXWindow WXDLLIMPEXP_CORE wxOSXGetKeyWindow(); WXImage WXDLLIMPEXP_CORE wxOSXGetNSImageFromNSCursor(const WXHCURSOR cursor); - +void WXDLLIMPEXP_CORE wxOSXSetBezelStyleFromBorderFlags(WX_NSButton v,
Is WXDLLIMPEXP_CORE really needed here? I.e. is it really going to be used from outside the core library? I think it doesn't need to be exported from it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@csomor commented on this pull request.
In include/wx/osx/cocoa/private.h:
> @@ -50,7 +50,12 @@ wxBitmapBundle WXDLLIMPEXP_CORE wxOSXCreateSystemBitmapBundle(const wxString& id WXWindow WXDLLIMPEXP_CORE wxOSXGetMainWindow(); WXWindow WXDLLIMPEXP_CORE wxOSXGetKeyWindow(); WXImage WXDLLIMPEXP_CORE wxOSXGetNSImageFromNSCursor(const WXHCURSOR cursor); - +void WXDLLIMPEXP_CORE wxOSXSetBezelStyleFromBorderFlags(WX_NSButton v,
you are right, I'll change that
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@csomor commented on this pull request.
> @@ -187,6 +199,7 @@ - (NSControlSize)controlSize;
{
NSButton* button = GetNSButton();
[button setAlternateImage: wxOSXGetImageFromBundle(bitmap)];
+ NSLog(@"alternateImage height %d, normalImage height %d", (int)[button alternateImage].size.height, (int)[button image].size.height);
yes, I'll do that
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@csomor pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Thanks, just to confirm: should this one be merged now or should we wait more for it to be tested?
fine to merge for me, we need broad testing now, if we run into trouble, I'll re-add the last reverted commit, which makes things less beautiful
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()