Search found 205 matches

by kshitij_ds
Thu Dec 09, 2010 5:27 am
Forum: Platform Related Issues
Topic: Cannot move main App window by dragging Mac Toolbar
Replies: 1
Views: 2661

Cannot move main App window by dragging Mac Toolbar

Hi, I am facing an issue where i cannot drag the main application window by clicking and dragging the native Mac Toolbar. In my application, i can only move the app window by dragging the thin frame above the native toolbar. However, if u look at Xcode or any other Mac application, you can actually ...
by kshitij_ds
Wed Nov 24, 2010 1:35 am
Forum: C++ Development
Topic: Issues with OnDrawItem for wxHtmlListBox
Replies: 2
Views: 948

I figured out the issue. The actual problem was with wxString. I have a wxString initialized to _T(" \t \t "). Later i substitue the spaces with appropriate characters using wxString::SetChar. Now, when i Set '<' as the character at position 0 and then draw the string the issue is reproduc...
by kshitij_ds
Tue Nov 23, 2010 8:54 pm
Forum: C++ Development
Topic: Issues with OnDrawItem for wxHtmlListBox
Replies: 2
Views: 948

Issues with OnDrawItem for wxHtmlListBox

Hi, I am trying to create a list of all ASCII characters from 0 to 255. All characters from 0 to 255 are displayed and in order to list character with it's equivalent decimal value on the same line, i am using OnDrawItem. All characters are displayed without any issue except the character '<' decima...
by kshitij_ds
Fri Nov 19, 2010 8:29 pm
Forum: C++ Development
Topic: wxClipboard->GetData() issues on Mac OSX
Replies: 7
Views: 1765

Hi Auria, I did get chance to debug deep into Carbon code of wxWidgets. It looks like the carbon PasteBoard reads RTF data from clipboard into a void buffer. Then wxWidgets uses wxString to convert that void buffer into a recognizable text. This is causing the issue. Now, what i think is that i need...
by kshitij_ds
Thu Nov 11, 2010 8:40 pm
Forum: C++ Development
Topic: wxClipboard->GetData() issues on Mac OSX
Replies: 7
Views: 1765

I was trying to figure out whether i can provide a fix for this and came across wxWidgets docs for wxTextDataOject and this is what i found: wxTextDataObject is a specialization of wxDataObject for text data. It can be used without change to paste data into the wxClipboard or a wxDropSource. A user ...
by kshitij_ds
Mon Oct 25, 2010 1:16 pm
Forum: C++ Development
Topic: wxClipboard->GetData() issues on Mac OSX
Replies: 7
Views: 1765

Sure, thanks for your reply Auria. However, i had one concern -
When i try and paste the text into a default wxWidgets text control, it pastes fine.
Obviously, this time it did not use wxTheClipboard->GetData(). But then my concern was how does that correctly paste?
by kshitij_ds
Fri Oct 22, 2010 7:12 pm
Forum: C++ Development
Topic: wxClipboard->GetData() issues on Mac OSX
Replies: 7
Views: 1765

wxClipboard->GetData() issues on Mac OSX

Hi All, I am using wxTheClipboard->GetData() to read clipboard data. This can be successfully used on Linux, as well as Mac. However, when i try to paste some pain text (that was copied to system clipboard from Eclipse only), the text retured by GetData() is weird. This happens only when i paste dat...
by kshitij_ds
Wed Oct 13, 2010 1:14 pm
Forum: Compiler / Linking / IDE Related
Topic: wxListBook issues with ImageList and SetPageImage
Replies: 2
Views: 1660

no, its a private variable in my wxDialog class. Don't worry i figured it out... :) The issue here was that the wxImageList was required to be created before the wxListBook was created and then assign the image list to the list book ctrl. I was basically creating the image list after creating the no...
by kshitij_ds
Tue Oct 12, 2010 6:14 pm
Forum: Compiler / Linking / IDE Related
Topic: wxListBook issues with ImageList and SetPageImage
Replies: 2
Views: 1660

wxListBook issues with ImageList and SetPageImage

Hi, In my application i am doing this: 1) Creating a wxListBook 2) Calling AddPage on wxListBook to add few pages 3) Create a wxImageList with size 32x32 4) Call SetImageList of wxListBook 5) Assign image to each note book page using SetPageImage(...) I even stepped through my and wxWidgets code to ...
by kshitij_ds
Tue Oct 05, 2010 3:42 pm
Forum: Platform Related Issues
Topic: Handling touch pad events with Macbook
Replies: 0
Views: 692

Handling touch pad events with Macbook

Hi, I am able to handle mouse events with the Mac intelli mouse shipped with iMac. However, i am not able to handle any mouse events generated by the trackpad on MacBook. These are: 1) Two finger touch down - this is equivalent to right click 2) Three finger swipe 3) Four finger swipe Out of the abo...
by kshitij_ds
Tue Sep 21, 2010 2:39 pm
Forum: C++ Development
Topic: GetSystemInfo() API of Win32 - Linux/wxW equivalent required
Replies: 1
Views: 1469

GetSystemInfo() API of Win32 - Linux/wxW equivalent required

Hi All, I am looking for a function similar to Windows API - GetSystemInfo(), on Linux and Mac. I am mostly interested in getting the field information that is equivalent ti dwAllocationGranularity that is avilable in SYSTEM_INFO structure on Windows. Can anyone please suggest the Linux or wxWidgets...
by kshitij_ds
Tue Aug 17, 2010 6:05 pm
Forum: Compiler / Linking / IDE Related
Topic: Right Click on Toolbar button doesn't work
Replies: 4
Views: 1382

Hi Auria, I was finally able to find what is going on with the Right Click event for the native (single) MAC toolbar using wx 2.8.11 and Snow Leopard. The wxMacTopLevelMouseHandler function in toplevel.cpp gets called which in-turn calls the respective handler. I was then able to break in toolbar.cp...
by kshitij_ds
Fri Aug 06, 2010 7:39 pm
Forum: Platform Related Issues
Topic: having more than one toolbar on MAC
Replies: 16
Views: 3780

yeah i know it's a non-standard way :( . I was right now just concerned about dragging the application Frame by click+Drag on the MAC native toolbar.

Another concern was that i cannot trigger any event when i Ctrl+Click (Right Click) on the MAC native toolbar.
by kshitij_ds
Fri Aug 06, 2010 7:26 pm
Forum: Platform Related Issues
Topic: having more than one toolbar on MAC
Replies: 16
Views: 3780

yeah i know it's a non-standard way :( . I was right now just concerned about dragging the application Frame by click+Drag on the MAC native toolbar.

Another concern was that i cannot trigger any event when i Ctrl+Click (Right Click) on the MAC native toolbar.
by kshitij_ds
Fri Aug 06, 2010 7:12 pm
Forum: Platform Related Issues
Topic: having more than one toolbar on MAC
Replies: 16
Views: 3780

Hi Auria,
I have the Toolbars for MAC as shown in the screen shot above. However, i am not able to drag the application Window when i Click+Drag the Mac native toolbar.
I am using wxWidgets 2.8.11 on Snow Leopard.

Any ideas?